Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to use mercurial and svn together

The SVN repo at work is only reachable internally (at least for me as contractor). When not at work, I would like to use HG and then sync with SVN the next day.

Is it at all advisable to use both? Are there issues one should be aware of?

like image 845
kostja Avatar asked Jan 05 '11 15:01

kostja


People also ask

Can I use Git and SVN at the same time?

You can clone a subversion repository to your machine using git svn clone <SVN repo URL> . The code will be available as a git repository. You can do your work there and make local commits as you please. There is a command line option to get a "shallow" checkout rather than the entire repository which is often useful.

Is SVN a mercurial?

SVN is different from Git and Mercurial, in that it is a single repository that all users have to pull and commit to. Git and Mercurial have a distributed model.

Is SVN better than Git?

SVN is better than Git for architecture performance, binary files, and usability. And it may be better for access control and auditability, based on your needs.


1 Answers

The Working With Subversion page on the mercurial wiki includes a few different, suitable workflows for just what you're describing.

like image 69
Ry4an Brase Avatar answered Oct 07 '22 01:10

Ry4an Brase