HgGit on Debian problem

Q:

Installing:

sudo apt-get install mercurial-git

ref: http://hg-git.github.com/

EDIT:

~/.hgrc

[extensions]
hgext.bookmarks =
hggit = 

running:

hg clone git://example.com/eg.git
abort: repository git://example.com/eg.git not found!

What's happen?

googling...

a issue of 2 years ago:

ref:

https://github.com/schacon/hg-git/issues/204

https://bugs.launchpad.net/ubuntu/+source/hg-git/+bug/666292

https://bugs.launchpad.net/ubuntu/+source/hg-git/+bug/1008876

orz

A:

[extensions]
hgext.bookmarks =
hgext.git =

replace "hggit =" with "hgext.git ="

OR

use "easy_install hg-git" or "pip hg-git"

 

原文地址:https://www.cnblogs.com/eshizhan/p/2921479.html