[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: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 26 Apr 2010 16:57:10 +0200

> -----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.

        Bert
Received on 2010-04-26 16:57:46 CEST

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