[ANN] TortoiseHg for everyone else

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


Hi Steve,

* Steve Borho on Monday, January 21, 2008 at 11:21:24 -0600
> On Mon, 2008-01-21 at 15:48 +0100, Christian Ebert wrote:
>> * TK Soh on Monday, January 21, 2008 at 12:29:20 +0000
>>> On Jan 21, 2008 11:58 AM, Marcin Kasperski
>>> <Marcin.Kasperski at softax.com.pl> wrote:
>>>>>> But userconfig, repoconfig and (most importantly) synch fail
>> 
>> So these are not added to commands.table? Sorry, I don't know how
>> TortoiseHg works.
> 
> No, those commands only exist inside the hgtk shell script.  Under the
> hood, the synch dialog calls into the normal dispatch function to run
> mercurial commands.
> 
> What's strange is that this backtrace happens when the synch dialog is
> just opening a repository.
> 
>   self.repo = hg.repository(ui.ui(), path=self.root)
> 
> I gather from this that you're peeking at the command line?

Indeed. I haven't found any other way to obtain the current hg
command. The behaviour of the extension depends on it.

BTW, if anyone knows how to grab it without resorting to
sys.argv, I'd be most thankful for him sharing the wisdom.

>> Is keyword expansion needed for above commands? Or how should I
>> treat them?
> 
> In general, probably not.

If it's ok, I'll mail you a version that turns the expansion off,
if the UnknownCommand exception is encountered.

Let's see what havoc that creates.

c
-- 
So dacht ich. Nächstens mehr.
_HÖLDERLIN: H Y P E R I O N_ <http://www.blacktrash.org/>


More information about the Mercurial mailing list