You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ben Woodall <be...@wayforward.com> on 2004/03/06 01:04:36 UTC

Partial dump/load rev numbers issues

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 >
repos.dump.r200-589.svn

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).
Example:
            ------- 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?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org