[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Strange svn move behaviour

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-05-21 00:45:50 CEST

On 5/20/06, Sergio Bossa <sergio.bossa@gmail.com> wrote:
> On 5/19/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
>
> > Well, I just tried that, and it's not what I see here:
> > [CUT]
>
> Try this:
>
> $ svnadmin create test
>
> $ svn co file:///path/to/test
>
> $ cd test
>
> $test> mkdir a_dir
>
> $test> svn add a_dir
>
> $test> svn commit -m ""
>
> $test> cd a_dir
>
> $a_dir> touch test_file
>
> $a_dir> svn add test_file
>
> $a_dir> svn commit -m ""
>
> $a_dir> mv test_file test_file_rn
>
> $a_dir> svn remove test_file
>
> $a_dir> svn add test_file_rn
>
> $a_dir> svn commit -m ""
>
> $a_dir> cd ..
>
> $test> mkdir new_dir
>
> $test> svn add new_dir
>
> $test> svn move a_dir new_dir/a_dir
> A new_dir/a_dir
> D a_dir/test_file_rn
> D a_dir
>
> $test> svn status
> A new_dir
> A + new_dir/a_dir
> D + new_dir/a_dir/test_file
> D a_dir
> D a_dir/test_file_rn
>
> Here is the problem:
>
> D + new_dir/a_dir/test_file

If you run 'svn up' before doing the copy what happens? I suspect
this is an artifact of copying a mixed revision working copy, although
I'm not sure if it's entirely correct or not.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun May 21 00:47:06 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.