Local Mercurial - Remote SVN

I really like Mercurial. But most of the companies I'm working on are not ready to switch to Mercurial yet. Therefore, I am wondering if there is a convenient way to use the local Mercurial repository and accomplish (what I would otherwise do on my remote Mercurial repository) in the company's svn. I would prefer a solution that can be easily integrated into my workflow as a user of MercurialEclipse.

+4
source share
2 answers

Take a look at WorkingWithSubversion .

If you want to make changes directly to svn, you first pull the latest changes from svn and then reload your changes in svn HEAD and push them back.

$ hg pull --svn # pull the changes from svn $ hg up your_head # update the repo to the head of the changes you want to push to svn $ hg rebase --svn # rebase your_head onto svn $ hg push --svn 
+4
source

Take a look at HgSubversion , this should suit your needs.

You can then use Mercurial as a Subversion client.

+2
source

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


All Articles