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

Re: svn commit: r1434913 - /subversion/trunk/subversion/libsvn_wc/wc_db.c

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Fri, 18 Jan 2013 11:13:22 +0100

On Fri, Jan 18, 2013 at 10:43 AM, Stefan Sperling <stsp_at_elego.de> wrote:
> On Thu, Jan 17, 2013 at 10:14:11PM +0100, Bert Huijben wrote:
>> I think
>> $ svn mv A B
>> $ svn mv B A
>>
>> Will now store moved_from and moved_to in the same record, at the op-depth of A.
>> (Or copy_tests.py move_file_back_and_forth wouldn't show moved_from and moved_to on a single node using status using the code snippet here)
>>
>> How will this store a future move
>> $ svn mv A C
>
> You're not giving a complete command sequence here.
> I'm not sure I really understand what you mean.
> I'll try to fill in the blanks with something that makes sense.

I think Bert meant (with A being a versioned node already):

$ svn mv A B
$ svn mv B A
$ svn mv A C

But that seems to be working fine, AFAICS (at least it seems so in the UI):

[[[
C:\research\svn\experiment\testmove\wc>svn add A
A A

C:\research\svn\experiment\testmove\wc>svn commit -mm
Adding A
Transmitting file data .
Committed revision 1.

C:\research\svn\experiment\testmove\wc>svn up
Updating '.':
At revision 1.

C:\research\svn\experiment\testmove\wc>svn st

C:\research\svn\experiment\testmove\wc>svn mv A B
A B
D A

C:\research\svn\experiment\testmove\wc>svn st
D A
> moved to B
A + B
> moved from A

C:\research\svn\experiment\testmove\wc>svn mv B A
A A
D B

C:\research\svn\experiment\testmove\wc>svn st
R + A
> moved to A
> moved from A

C:\research\svn\experiment\testmove\wc>svn mv A C
A C
D A

C:\research\svn\experiment\testmove\wc>svn st
D A
> moved to C
A + C
> moved from A
]]]

-- 
Johan
Received on 2013-01-18 11:14:21 CET

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

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