On Wed, Jan 21, 2009 at 11:26 PM, TK Soh <[email protected]> wrote:
> Steve,
>
> I just tried it, but hgtk rename gave traceback:
>
> Traceback (most recent call last):
> File "contrib\hgtk", line 487, in <module>
> sys.exit(dispatch(sys.argv[1:]))
> File "contrib\hgtk", line 36, in dispatch
> return _runcatch(u, args)
> File "contrib\hgtk", line 76, in _runcatch
> return runcommand(ui, args)
> File "contrib\hgtk", line 171, in runcommand
> return func(ui, *args, **cmdoptions)
> File "contrib\hgtk", line 210, in rename
> opts['fname'] = pats[0]
> IndexError: tuple index out of range
>
> Also, the docstring for rename is wrong. Copy-paste error?
>
It's designed to take a single argument (could use better error checking)
hgtk rename filename.py
The dialog is mostly intended for use from the context menu of a revisioned
file.
It's an extremely simple dialog.
--
Steve
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop