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

Partial dump/load rev numbers issues

From: Ben Woodall <ben_at_wayforward.com>
Date: 2004-03-06 02:04:36 CET

For time and space reasons, I elected to only dump the last month's
worth of revisions when I attempted to migrate my repository.
It went something like:
          svnadmin dump --revision 200:589 REPOS_PATH >

Everything went fine, I created a new repository and loaded the dump
file with (on win2k):
          svnadmin create NEW_REPOS_PATH
          type repos.dump.r200-589.svn | svnadmin load NEW_REPOS_PATH

It loaded, however, I had expected it to start loading with revision
200. Which it did, but it loaded it as revision 1.
So now, for all my working directories, the rev numbers are off by 200
(or 199 i guess).
            ------- Committed new rev 1 (loaded from original rev 200) >>>
            ------- Committed new rev 390 (loaded from original rev 589) >>>

Any ideas? I was thinking of just writing a script that would check in
an incremented dummy file 200 times and then load the repository, but
there's got to be a better way. I don't mind repeating the load process,
it just seems like there should be a cleaner way of getting the new rev
number to match the original rev number.

Any ideas? Or should I just get started on the revision inflation script?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Mar 6 03:15:40 2004

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