Using Mercurial locally, only with Subversion server

后端 未结 2 2018
说谎
说谎 2021-02-04 01:31

We are using a Subversion server at my job for source control. I was thinking that rather than keeping up with my own branch, I would run Mercurial on my workstation, commit lo

相关标签:
2条回答
  • 2021-02-04 02:10

    You should really give hgsubversion a try, despite the warning. It is the only two-way bridge between Subversion and Mercurial.

    When I tried it months ago it worked very well and there has been a lot of development done sine. That is why the extension is tracking the development version of Mercurial (hence the error about encoding in the comment above).

    Luckily, Mercurial is very easy and non-intrusive to install. Download the latest Mercurial, unpack it and run

    % make local
    

    That will compile the C modules. Then symlink hg into your path and add the present working directory to your PYTHONPATH:

    % export PYTHONPATH=$PWD:$PYTHONPATH
    

    Now install and active hgsubversion. When Mercurial 1.3 is released on July 1st you can just use that version. I believe hgsubversion will then make a stable repository and track the stable Mercurial releases.

    0 讨论(0)
  • 2021-02-04 02:12

    Have you looked at this page in Mercurial wiki ?

    0 讨论(0)
提交回复
热议问题