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

Re: desperately need to retroactively rewrite history

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Tue, 7 Feb 2012 15:11:41 -0600

On Tue, Feb 7, 2012 at 2:55 PM, The Grey Wolf <greywolf_at_starwolf.com> wrote:
>
> We have a bunch of directories (see my last problem) consisting of AB/,
> where A and B are both in the range [0-9A-Za-z].  We want to move them
> to A/B/AB, as we have solved the previous problem in this way.
>
> However, sometimes we need to retrieve the OLD directories, but post
> updates to the NEW ones.  Our repo is >120,000 revisions right now
> [don't ask], so rebuilding the repo would be a time-costly operation.
> Is there any way to go back and retroactively correct the layout of
> these files, or do we need to
> 1. write a hook somewhere to do the translation on checkout (is this
>   even possible??);
> 2. rebuild the repo?

I thought the way svn worked, if you specified the current name of
something and the revision number with -r it would follow the history
of that object back and retrieve it even if the object had a different
name at that revision. (As opposed to path_at_revision which would look
for the name specified). Or, if you check out the current version
and 'update -r rev', it should follow back to where it was copied
from. Does that not work with these directories?

-- 
   Les Mikesell
     lesmikesell_at_gmail.com
Received on 2012-02-07 22:12:13 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.