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

Re: svn log output in directory-trees that contain moved sub-trees

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 31 Oct 2012 17:45:02 +0200

Matthias Gerstner wrote on Wed, Oct 31, 2012 at 10:27:17 +0100:
> > "new" was created in r2 so running 'log' on it will not show earlier
> > revisions. (Well, unless you pass -g) 'log' just walks the history of
> > a node; it won't show revisions in which that node did not exist.
> >
> > But the reference to r1 is not lost; is it present in line 4 of the
> > output:
>
> Thanks for the reply.
>
> Yes I have the reference to the move operation. But getting the actual
> history of "/old/place" requires me to move into "/new/place/old" and
> run 'svn log' there.
>
> My use case is that I'm doing a big reorganization if small repositories
> into a large repository. To do this I use 'svnadmin dump/load' and move
> the resulting directories around in the new repository to achieve a new
> structure. Basically I have something like this:
>
> /A
> /B
> /C
>
> becomes
>
> /trunk/A
> /trunk/B
> /trunk/C
>

Did you accomplish that as three individual moves? Try accomplishing it
as 'svn cp ^/ ^/trunk' instead.

> Directory structures A, B and C each have their individual history. Now
> when I am located at /trunk I want to be able to easily inspect the
> history of all three A, B and C. This is not possible given the
> behaviour of 'svn log' in this respect.
Received on 2012-10-31 16:45:53 CET

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.