Pull changes from the SVN repository as normal using hg pull.īefore pushing to the central SVN repository, you should use hg rebase –svn. Hgsubversion = C:/Users/Public/hgsubversion/hgsubversion hg clone C:/Users/Public/hgsubversionĬonfigure Hg extension by editing the configuration file (usually %USER_HOME%/mercurial.ini). Push and Pull are two essential concepts in a distributed version control system, which involve moving changes from one repository to another in either direction. pull the changes from the SVN repository to your Hg repository. You can also work the other way round, i.e. The method gives you a fully-functional distributed version control system, where you maintain a Hg repository on your local computer to commit your own modification before pushing them to the central SVN repository. You should choose HgSubversion over the Convert extension when you have no control over the main repository or when you simply couldn’t persuade others to change from SVN to Mercurial. Work for single branches conversions only.Īnd you use it as follow: hg -config =whatsoever convertīy using this method, the main repository of your project remains as an SVN repository, while you can use Hg to manage your personal addition or modification on your hard drive.
0 Comments
Leave a Reply. |