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

Re: Revisions with wrong chronologic order

From: Kylo Ginsberg <kylo.ginsberg_at_gmail.com>
Date: 2007-04-11 17:29:10 CEST

I have a scenario where I would like to dump a small repository and
load it into a large one. Essentially I want to tack all the
revisions of the small repo on to the tail end of the large one with
their date being "at load time".

More specifically: I want the original large repository to keep
revision #s (so merge comments in log entries are coherent) but I
don't want to preserve revision #s from the small repository. I want
the -r DATE syntax to work, with the understanding that all revs from
the small repository now appear to be from the time of the load.

Is this possible with the svnadmin dump/load, svndumpfilter, or these
other scripts/tools that have been mentioned.

Thanks,
Kylo

On 4/11/07, Eli Carter <eli.carter@commprove.com> wrote:
> On Tuesday 10 April 2007, Ryan Schmidt wrote:
> > I'm surprised that this didn't come up sooner in this thread, but
> > someone has already written a script to load multiple repository
> > dumps into a single new one in interleaved order so that the -r
> > {DATE} syntax works.
> >
> > That is the only reason why you would need to load interleaved, by
> > the way: So that the -r {DATE} syntax works. If you don't care about
> > that, then you can load each dump sequentially, as you tried (and
> > succeeded with) initially.
> >
> > The script to load multiple dumps interleaved is repomerge.py. See here:
> >
> > http://svn.haxx.se/users/archive-2006-01/1168.shtml
>
> Or better yet, use svndumptool. It does a lot more than just merge
> repositories....
>
> http://svn.borg.ch/svndumptool/
>
> Eli
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 11 17:29:43 2007

This is an archived mail posted to the Subversion Users mailing list.