Hgext byte compiled

Benoit Boissinot bboissin at gmail.com
Fri Jul 17 02:42:27 CDT 2009


On Fri, Jul 17, 2009 at 9:22 AM, Gaunet
Sylvain<sylvain.gaunet at astek.cnes.fr> wrote:
> Hello,
>
> I'm wondering how works the relation between the configuration and the
> execution of extensions. In the configuration, for example I activate
> the glog extension like that :
>
> (in /etc/mercurial/hgrc)
>
> [extensions]
> # Extension graphlog
> hgext.graphlog = /.../lib64/python/hgext/graphlog.py
>

hgext.graphlog=

should work too (no need to specify the full path usually)
>
> It works, fine but, the byte compiled file
> /.../lib64/python/hgext/graphlog.pyc is used or not ?

it is purely up to the python interpreter:
http://docs.python.org/tutorial/modules.html#compiled-python-files

regards,

Benoit


More information about the Mercurial mailing list