Installing Hg-Git on Windows 7 64bit

前端 未结 3 2043
有刺的猬
有刺的猬 2021-02-05 11:45

I am trying for a while installing Hg-Git addon to my Windows 7 Operating system

  1. I have crossed several difficulties like installing Python and other utilities

相关标签:
3条回答
  • 2021-02-05 12:21

    In case it helps anyone, I have Windows 7 64bit and TortoiseHg and following their instructions was easy and worked without issue.

    Installation

    TortoiseHg Windows installers come with the python-git bindings (named dulwich) that hg-git requires, so one only needs to clone the hg-git repository to your local computer:

    hg clone http://bitbucket.org/durin42/hg-git/ C:\hg-git

    Then enable hggit and bookmarks in your Mercurial.ini file:

    [extensions]

    bookmarks =

    hggit = C:\hg-git\hggit

    You can verify that worked by typing hg help hggit

    0 讨论(0)
  • 2021-02-05 12:21

    Ok i got it so ... For others - you need to clone this repo

    HTTPS:

    git clone https://github.com/jelmer/dulwich.git
    

    SSH:

    git clone git@github.com:jelmer/dulwich.git
    

    or just download source - after that you need to go to its folder when you downloaded in command line type:

    python setup.py install
    

    You are done after you can simply do:

    easy_install hg-git
    

    On windows and make it work - so congratulations :-) Close.

    0 讨论(0)
  • 2021-02-05 12:25

    I created a powershell script which does the installation in one step. The prereq is you have some build tools and python already installed: http://ig2600.blogspot.com/2013/02/using-git-via-hg-on-windows.html

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