extend mercurial with command not taking a repo as argument
Patrick Mézard
pmezard at gmail.com
Tue Mar 4 02:49:37 CST 2008
Donszelmann Mark a écrit :
> Hi
>
> is it possible to add a mercurial extension with a command that does
> not take
> a repository as a default argument. Same way as lets say "hg init".
See ConvertExtension startup code:
http://hg.intevation.org/mercurial/file/0068809347d7/hgext/convert/__init__.py
especially the following line:
"""
commands.norepo += " convert debugsvnlog"
"""
--
Patrick Mézard
More information about the Mercurial
mailing list