Synchronizing SVN with Mercurial using svnsync & hg convert - missing svn: externals?

I created a mirror of the Mercurial SVN repository (using this tutorial: http://oreilly.com/opensource/excerpts/opensource-mercurial/migrating-to-mercurial.html ). Synchronization works fine, except that I noticed that it does not collect an external repository, which is mainly referenced by the SVN repo ...

Ideally, I would like to do everything, as a single repo, in Mercurial (along with changes, if possible).

What I'm not sure is: is there no external svnsync constraint or hg conversion constraint?

Is there any way to make the external synchronize, at the same Mercurial repo?


I think a good solution would be to set the synchronization process over and over again for the external. Create the plug of the current hg mirror and synchronize the external screen with the hg mirror plug.

The trap with this is that the outer trunk is intended to go into the subfolder of the first mirror, so how can I replicate this with the conversion? I doubt that I can say what to convert for import into a subfolder ...

+3
source share
1 answer

is the missing external svnsync restriction or hg conversion restriction?

svnsync SVN. svn:externals. hg convert.

: svnsync. , .

- , Mercurial repo?

SVN , . Mercurial : , , . SVN, //. , , , hg convert , SVN.

svn:externals; "". svn:externals .hgsub . SVN , . . mercurial wiki .

+3

Source: https://habr.com/ru/post/1776503/


All Articles