[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: Nathan Kidd <nathan-svn_at_spicycrypto.ca>
Date: 2007-03-28 17:30:02 CEST

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

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