[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: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-03-28 18:08:29 CEST

On 3/28/07, Nathan Kidd <nathan-svn@spicycrypto.ca> wrote:
> Jared Silva wrote:
> > Oefelein, Martina wrote:
> >> I think that's hard to do in a situation like Ori's where you have two
> >> repositories with 2 years commit history that you want to combine into
> >> one. You would have to dump each revision individually, and then load
> >> the dump files in date order.
> >
> > Yes, it may be tedious. However, if this is what he wants, this is
> > what he needs to do.
> >
> > Shame there is not a script to take care of this...
>
> Actually, this would be very simple to write a script for.
>
> for (each repository)
> for (each revision)
> dump > dumpdir/{revisiondate}-{revisionnumber}-{reponame}.dump
> done
> done
>
> for (alphabetically sorted list of files in dumpdir)
> load < {file}
> done

Are you sure all copy sources will be ordered correctly that way?

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 28 18:09:08 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.