You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by The Grey Wolf <gr...@starwolf.com> on 2012/02/07 21:55:44 UTC

desperately need to retroactively rewrite history

Hi there,

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?


-- 
                --*greywolf; 

Re: desperately need to retroactively rewrite history

Posted by Les Mikesell <le...@gmail.com>.
On Tue, Feb 7, 2012 at 2:55 PM, The Grey Wolf <gr...@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@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@gmail.com