You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by James <ho...@outofcontrol.ca> on 2007/02/05 20:17:56 UTC
Handling of Revision numbers when merging repos
Hello,
I am in the middle of testing the merger of about 10 repositories
into one, each within a new parent directory. Is there some
documentation on how the revision numbers are handled.
For example, when I did a test merger, I have a new revision number
of 30. Does that number come simply from the repository that had the
most number of revisions (up to 30 in this case), or does it take the
last revision number for the new repository from the first or last
repository merged in.
During a merger it appears that each files Last revision number is
maintained, is this correct? Or are there some cases when a Last
revision number for a file might be modified.
Thanks
James
Re: Handling of Revision numbers when merging repos
Posted by James <ho...@outofcontrol.ca>.
Thanks for the info. I will check out the script too.
Cheers
James Riordon
Hosting | Webdesign | PHP | DTP
Out of Control Image enr
Tel: 514-457-2976
http://www.outofcontrol.ca
Find all things Mac - http://www.findmacstuff.com
On Feb 5, 2007, at 4:21 PM, Paul wrote:
> James,
> When you load a repository from a dump file, the revision numbers in
> the dump file are ignored, and the load process replays the dump file
> as a series of commits to the new repository. You should see this in
> the output of the svnadmin load command
> ------- Committed new rev 13 (loaded from original rev 6) >>>
> This indicates the dump file revision was rev 6, but the revision in
> the repo is now 13.
>
> If you're merging repositories, and want to maintain the commits in
> chronological order, you might want to take a look at
> http://www.thehirts.net/blog/?page_id=24
>
> I have never used this personally, but you may find it helpful.
>
> Paul
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
Re: Handling of Revision numbers when merging repos
Posted by Paul <al...@gmail.com>.
James,
When you load a repository from a dump file, the revision numbers in
the dump file are ignored, and the load process replays the dump file
as a series of commits to the new repository. You should see this in
the output of the svnadmin load command
------- Committed new rev 13 (loaded from original rev 6) >>>
This indicates the dump file revision was rev 6, but the revision in
the repo is now 13.
If you're merging repositories, and want to maintain the commits in
chronological order, you might want to take a look at
http://www.thehirts.net/blog/?page_id=24
I have never used this personally, but you may find it helpful.
Paul
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org