[ANN] TortoiseHg for everyone else

Christian Ebert blacktrash at gmx.net
Mon Jan 21 08:37:39 CST 2008


* Marcin Kasperski on Monday, January 21, 2008 at 12:58:02 +0100
>>> But userconfig, repoconfig and (most importantly) synch fail
>>> with mercurial.cmdutil.UnknownCommand. This is I bet just a matter
>>> of those commands being introduced after mercurial 0.9.4.
>>> (...)

Are you using 0.9.4?

>> (...)
>> Can you post the full traceback?
> 
> $ hgtk synch
> Traceback (most recent call last):
>  File "/home/marcink/scripts/hgtk", line 90, in ?
>    main(sys.argv[1])
>  File "/home/marcink/scripts/hgtk", line 83, in main
>    run(**opts)
>  File "/home/marcink/DEV_tracked/tortoisehg-dev/hggtk/synch.py", line 373, in run
>  File "/home/marcink/DEV_tracked/tortoisehg-dev/hggtk/synch.py", line 39, in __init__
>  File "/home/marcink/DEV_tracked/tortoisehg-dev/hggtk/synch.py", line 201, in _get_paths
>  File "/var/lib/python-support/python2.4/mercurial/hg.py", line 60, in repository
>    hook(ui, repo)
>  File "/var/lib/python-support/python2.4/hgext/keyword.py", line 483, in reposetup
>    if not repo.local() or _parse(ui, sys.argv[1:])[0] in nokwcommands:

If you are using 0.9.5+ you should use the default branch from
<http://www.blacktrash.org/hg/hgkeyword/>, but even the head of
the 0.9.2compat branch is better than this.

>  File "/var/lib/python-support/python2.4/mercurial/cmdutil.py", line 209, in parse
>    aliases, i = findcmd(ui, cmd)
>  File "/var/lib/python-support/python2.4/mercurial/cmdutil.py", line 187, in findcmd
>    raise UnknownCommand(cmd)
> mercurial.cmdutil.UnknownCommand: synch

This can be avoided. However I'm not sure about the consequences
as I'm not using TortoiseHg.

If you want to try and test, I can send you a version by pm.

c
-- 
Eine Maske verbirgt, wen immer sie ziert, / Verhüllt Seelen und Titel
im Körpergewühl; / Und weil sie die Gesichter maskiert / Entblößt
sich furchtlos das Gefühl.
_LERMONTOW: M A S K E R A D E_ <http://www.blacktrash.org/maskerade/>


More information about the Mercurial mailing list