Add earlier history retroactively?

Predrag Minic mipedja at gmail.com
Thu Apr 8 10:26:06 CDT 2010


You can convert a subversion repository, then pull (with -f) that one 
into your existing repository, and then rebase the existing changes 
(with --config ui.merge=internal:other) on top of the pulled svn repo.


On 04/08/2010 03:57 PM, Nikolaus Rath wrote:
> Hello,
>
> I have a project that was initally managed in subversion. At some point
> I created a Mercurial repository and imported the most recent subversion
> revision. From that point on, the project was managed in Mercurial.
>
> Now I have noticed the existence of "hg convert" to convert the entire
> history of a subversion repository. However, it seems to insist on
> creating a fresh mercurial repository.
>
> Is it also possible to retroactively add the old subversion history to
> an already existing mercurial repository? How would I go about that?
>
>
> Thanks,
>
>     -Nikolaus
>


More information about the Mercurial mailing list