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

Re: svn mv "breaks" annotate?

From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-07-09 22:27:45 CEST

Eli Carter <eli.carter@commprove.com> writes:
> On Monday 09 July 2007, Jason Winnebeck wrote:
>> I restructured a repository from a "normal" layout to a
>> "trunk/tags/branches" layout, but now annotate shows as if the entire
>> file was updated by myself on almost all files.
>>
>> The repository was just converted from SourceSafe, using the excellent
>> vss2svn script. That process seemed to work as good as expected. So
>> then, I wanted to immediately restructure the projects to have a
>> "trunk/tags/branches" format.
>
> <advice type=dangerous>
> If you're careful, you can modify a dump file to rename all the paths...
> </advice>

Good point. And you don't have to be *so* careful, after all, you can
work on copies of everything and test before making a repository live.

Just dump the original repository, write a script to stick "/trunk" in
front of every path (or perhaps some more complex formula will be
necessary, but you get the idea), and load into a fresh repository.

-Karl

-- 
Subversion support & consulting  <>  http://producingoss.com/consulting.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 9 22:27:31 2007

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.