hg-git icon indicating copy to clipboard operation
hg-git copied to clipboard

Simple install how-to?

Open dogweather opened this issue 9 years ago • 1 comments

I'd really like to see an installation guide for a non-python developer.

The Readme and the website both seem to contain outdated information (e.g. use easy_install) and rely on Python packaging knowledge. I've done a lot of Python development, but I couldn't get my setup working, always hitting errors like this:

*** failed to import extension hggit: No module named hggit

I think my use case is very common: I develop with a Mac, and I have Hg, Python 2 and 3 installed via Homebrew.

What exact steps should I now take?

dogweather avatar Nov 23 '15 03:11 dogweather

I also ran into this problem on Mac OS.

Here's how I solved it:

easy_install 'dulwich>=0.8.0'
cd ~/code
hg clone ssh://[email protected]/durin42/hg-git

Then I added this to my ~/.hgrc file:

[extensions]
hgext.bookmarks =
hggit = ~/code/hg-git/hggit

phpdave11 avatar Mar 24 '17 18:03 phpdave11