On Thu, Jan 22, 2009 at 5:37 AM, Steve Borho <[email protected]> wrote:
> 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?
>
> Fixes pushed.  Thanks for the feedback.

Technically, it rename/move dialog should be a full-blown file chooser
dialog, as files can be moved/renamed to another directory. The Status
window handle move and rename separately, so we can live with a simple
rename dialog. But hgtk mv might be a better one.

------------------------------------------------------------------------------
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

Reply via email to