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

Re: svn looses history when moving directories

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Mon, 26 Apr 2010 21:20:58 +0200

On Mon, Apr 26, 2010 at 4:57 PM, Bert Huijben <bert_at_qqmail.nl> wrote:
>> -----Original Message-----
>> From: Mark Phippard [mailto:mphippard_at_collab.net]
>> Sent: maandag 26 april 2010 16:03
>> To: CollabNet Subversion Client
>> Subject: Re: svn looses history when moving directories
>>
>> On 4/26/10 9:42 AM, "Piet-Hein Peeters" <piet-hein.peeters_at_philips.com>
>> wrote:
>>
>> > That's still not the same usecase. My usecase has one file and one
> directory
>> > move:
>> > $ svn mkdir B
>> > $ svn mv A/foo.c B <-- file move
>> > $ svn info B/foo.c
>> > $ svn mv B C <-- directory move
>> > $ svn info C/foo.c
>>
>> OK yes I see this too.
>>
>> Prior to 1.5 you could not even do this.  The second move would just fail.
>> You seem to be implying there is some new bug, in terms of your reference
>> to
>> 1.6.6, but from my recollection of when the developers agreed to relax the
>> restriction in 1.5, this was the compromise.  It could allow the second
> move
>> but it had to convert the file into a plain Add to do so.
>>
>> Is there a version of SVN where this worked?
>
> I just added a regression test on this interesting case in Subversion trunk
> (r93807) to make sure we get this fixed with the WC-NG work.
>
> I have no idea how hard it would be to fix this case for 1.6, but I would
> certainly see this as a showstopper for the WC-NG store that was designed to
> make recording operations like these much easier.

Heh, this is exactly the bug I discovered a while ago. I filed an
issue about it, which describes the exact same scenario:
http://subversion.tigris.org/issues/show_bug.cgi?id=3474

Glad to see I'm not the only one who has run into this, so the bug
gets some more attention :-).

Maybe the issue should be marked as "milestone 1.7", and a link to
this current mailthread could be added?

Cheers,

-- 
Johan
Received on 2010-04-26 21:21:26 CEST

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