Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Installing Hg-Git on Windows 7 64bit

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 described in this blog.

  2. I had even after this manual problems and could not install this addon because of errors described in this log.

  3. I searched google and I have found this manual

  4. Now i have these errors showed in this log.

Any help with these errors? Thank you for your help.

like image 739
Byakugan Avatar asked Jan 03 '11 15:01

Byakugan


People also ask

What is Hg in Git?

Mercurial, also known as Hg, is a free VCS (version control system) that promises high performance and scalability for distributed teams. As per user reviews, Mercurial is considered a monolithic system that's not as flexible as Git. On the upside, it is easy to use, and doesn't let developers edit previous commits.

Does GitHub work with Mercurial?

hg-github is a Mercurial extension that wraps hg-git, and supports a work-flow where repositories are hosted on Bitbucket and mirrored on GitHub. This work-flow normally requires adding Git paths to each repository's config file, and creating Mercurial bookmarks pointing to the GitHub repository's branch name.


2 Answers

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

like image 180
Stephen Swensen Avatar answered Sep 17 '22 14:09

Stephen Swensen


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 [email protected]: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.

like image 37
Byakugan Avatar answered Sep 18 '22 14:09

Byakugan