Jani Averbach <jaa@jaa.iki.fi> writes:
> I have a following recipe, which fails at the last step when it tries
> to commit changes back to the repository. Over ra_local and ra_svn
> everything is just fine.
This is with which version of svn?
-Karl
> This isn't an artificial test case, gconf uses filenames like:
> /etc/gconf/gconf.xml.defaults/%gconf.xml
>
> Br, Jani
>
> Recipe:
> --------------- 8< ------------- 8< --------------
> #!/bin/sh
>
> repopath=/tmp/bugs/repo
> repo_url=http://xxx.xxx.xxx.xxx/bugs/repo
>
> svnadmin create $repopath
> chmod a+rwX -R $repopath
>
> svn mkdir -m 't1' $repo_url/t1
> svn mkdir -m 't1' $repo_url/t1/trunk
>
> svn mkdir -m 't2' $repo_url/t2
> svn mkdir -m 't2' $repo_url/t2/trunk
>
> # importing data to the repository
> mkdir import_dir
> mkdir import_dir/dir1
> date > 'import_dir/dir1/%filename'
>
> cd import_dir
> svn import . $repo_url/t1/trunk -m 'initial import'
> cd ..
>
> # check out a working copy of secondary t (t2)
> svn co $repo_url/t2/trunk wc
>
> # try merge t1 to t2
> cd wc
> svn merge -r 4:5 $repo_url/t1/trunk .
>
> # try commit those results back to repository
> svn ci -m 'this will fail'
> --------------- 8< ------------- 8< --------------
>
> Output:
> sh recipe.sh
>
> Committed revision 1.
>
> Committed revision 2.
>
> Committed revision 3.
>
> Committed revision 4.
> Adding dir1
> Adding dir1/%filename
>
> Committed revision 5.
> Checked out revision 5.
> A dir1
> A dir1/%filename
> Adding dir1
> Adding dir1/%filename
> svn: Commit failed (details follow):
> svn: PROPFIND request failed on '/bugs/repo/t1/trunk/dir1/%filename'
> svn: PROPFIND of '/bugs/repo/t1/trunk/dir1/%filename': 400 Bad Request (http://xxxxx)
>
> --
> Jani Averbach
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Oct 20 23:49:55 2004