On May 7, 2008, at 7:44 AM, Les Mikesell wrote:
> Ryan Schmidt wrote:
>>> Some warnings: the revision numbers are not preserved
>>> (obviously), the
>>> dates are, but, now, in the new repository, the order of
>>> revisions is
>>> no longer the chronological order.
>> Correct, the revisions are no longer chronological with this
>> approach. If you want to merge two or more repositories and
>> maintain the chronological property of revisions (i.e. interleave
>> and renumber the revisions of both repositories) there exist
>> scripts which will do that. svndumptool will do this, and I think
>> there are other scripts as well.
>
> Is there anything that will convert something from cvs and merge it
> in date order? Or fix a repository after a cvs2svn dump has been
> loaded?
I think there's an option in cvs2svn to have it write out an svn
dumpfile, so you could cvs2svn your original repositories, then use
svndumptool to merge the various dumpfiles keeping the revisions in
chronological order, and import the result into the final Subversion
repository.
Not sure about fixing a repository that already has non-chronological
revisions after the fact. svndumpfilter and similar dump-combining
scripts may assume that the original dumpfiles are in chronological
order already and may fail to do the right thing if they're not. But
you could try it out, or ask the authors of the scripts.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-08 05:55:22 CEST