[prev in list] [next in list] [prev in thread] [next in thread]
List: mercurial
Subject: Re: "hg-git" and "hgsubversion" extensions
From: Arne Babenhauserheide <arne_bab () web ! de>
Date: 2019-12-18 19:55:34
Message-ID: 871rt14de1.fsf () web ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Dr Rainer Woitok <rainer.woitok@gmail.com> writes:
> Gentoo installed the extensions in "/usr/lib64/python2.7/site-packages/"
> as directories "hggit/" and "hgsubversion/", respectively. Assuming
> this already is in Python's search path I just specified
>
> hggit =
> hgsubversion =
>
> but this didn't work. According to the man page the alternative is to
> specify the full path to the extension, including the ".py" suffix. But
> which of the plethora of "*.py" files is the correct one? I tried
>
> /usr/lib64/python2.7/site-packages/hggit/__init__.py
>
> and the corresponding file for "hgsubversion" but it didn't work:
>
> $ hg st
> *** failed to import extension hggit from \
> /usr/lib64/python2.7/site-packages/hggit/__init__.py: No module \
> named 'gitrepo'
> *** failed to import extension hgsubversion from \
> /usr/lib64/python2.7/site-packages/hgsubversion/__init__.py: No module named \
> 'svncommands' M .hgrc
> $
>
> Do I have to set "PYTHONPATH"? To which value exactly?
On Gentoo that should include /usr/lib64/python2.7
> What am I missing?
Can you try this?
hggit = /usr/lib64/python2.7/site-packages/hggit/
(or a subdirectory if this does not work)
hggit and hgsubversion use the package, not the file.
Best wishes,
Arne
--
Unpolitisch sein
heißt politisch sein
ohne es zu merken
["signature.asc" (application/pgp-signature)]
[Attachment #6 (text/plain)]
_______________________________________________
Mercurial mailing list
Mercurial@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic