You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Matthias Gerstner <Ma...@ncp-e.com> on 2012/11/05 10:11:47 UTC

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

On Wed, Oct 31, 2012 at 06:35:23PM +0100, Daniel Shahaf wrote:
> 
> That's correct but besides the point.  The point was that 'svn log' in
> the trunk/ directory should show ^/A ^/B ^/C if you did the move/copy as
> I suggested, but won't if you do it as 'mkdir trunk; cp A trunk;
> cp B trunk; cp C trunk'.

Okay now I understand. This approach would work if my situation was as
simple as this example. However, I need to create a number of top-level
directories that weren't there before. Thus I think I can't restrict
myself to use 'svn cp' alone.

-- 
Matthias Gerstner, Dipl.-Wirtsch.-Inf. (FH)
Entwicklung

NCP engineering GmbH
Dombühler Straße 2, D-90449, Nürnberg
Geschäftsführer Peter Söll, HRB-Nr: 77 86 Nürnberg

E-Mail: Matthias.Gerstner@ncp-e.com
Internet: http://www.ncp-e.com

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

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Matthias Gerstner wrote on Mon, Nov 05, 2012 at 10:11:47 +0100:
> On Wed, Oct 31, 2012 at 06:35:23PM +0100, Daniel Shahaf wrote:
> > 
> > That's correct but besides the point.  The point was that 'svn log' in
> > the trunk/ directory should show ^/A ^/B ^/C if you did the move/copy as
> > I suggested, but won't if you do it as 'mkdir trunk; cp A trunk;
> > cp B trunk; cp C trunk'.
> 
> Okay now I understand. This approach would work if my situation was as
> simple as this example. However, I need to create a number of top-level
> directories that weren't there before. Thus I think I can't restrict
> myself to use 'svn cp' alone.

Just run it once per new top-level dir.  (you could do this in one or
several revisions)