On 03.08.2005, at 20:07, Peter D. Stout wrote:
> I have encountered a problem with 'svn move' when the directory being
> moved contains a sub-directory with the same name, for example,
>
> svn mv bsh src
>
> fails with Subversion 1.2 on Cygwin if bsh contains a directory named
> bsh. The same operation works correctly using Subversion 1.1.4 on
> Cygwin or RedHat 9. I unfortunately do not have a RedHat 9 machine
> with
> Subversion 1.2 installed, so I do not know whether the bug is specific
> to the Cygwin port or generic.
To give you another datapoint, it works fine for me with Subversion
1.2.1 on Mac OS X 10.4.2.
The only command in your transcript I have trouble with is this one:
> $ svn mkdir -m "Create trunk." file:///usr/local/svn/trunk/bsh
I presume that was a copy/paste error somewhere and that you didn't
actually execute this command. Else it would have created revision 2,
but you don't show that happening until later.
Here's my transcript:
$ svnadmin create --fs-type fsfs /tmp/test-repo
$ svn mkdir -m "Create trunk." file:///tmp/test-repo/trunk
Committed revision 1.
$ svn co file:///tmp/test-repo/trunk /tmp/working-copy
Checked out revision 1.
$ cd /tmp/working-copy
$ svn mkdir bsh
A bsh
$ svn mkdir bsh/bsh
A bsh/bsh
$ touch bsh/a-file
$ touch bsh/bsh/another-file
$ svn add bsh/a-file bsh/bsh/another-file
A bsh/a-file
A bsh/bsh/another-file
$ svn st
A bsh
A bsh/bsh
A bsh/bsh/another-file
A bsh/a-file
$ svn commit -m "Create test source tree."
Adding bsh
Adding bsh/a-file
Adding bsh/bsh
Adding bsh/bsh/another-file
Transmitting file data ..
Committed revision 2.
$ svn mkdir -m "Create src directory." file:///tmp/test-repo/trunk/src
Committed revision 3.
$ ls
bsh
$ svn up
A src
Updated to revision 3.
$ ls
bsh src
$ svn mv bsh src
A src/bsh
D bsh/bsh/another-file
D bsh/bsh
D bsh/a-file
D bsh
$ svn ci -m "Moving bsh into src."
Deleting bsh
Adding src/bsh
Committed revision 4.
$
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 4 01:41:19 2005