Forums

hg cant see extensions .local

I am trying to get hgnested working.

I installed using

pip install hgnested --user

and have the following in my .hgrc file

[extensions]
hgnested =

but whenever I run any hg command I see

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

I have the extension happy on my local machine, but here I have it in my system site-packages...

Any guidance on this would be appreciated.

Managed to figure it out, as usual the Submit button is the ultimate proofreading tool...

I added the full path to the extension in my .hgrc

[extensions]
hgnested = ~/.local/lib/python2.7/site-packages/hgnested

Good work!