Colin Caughie wrote, On 02/02/2010 12:00 PM:
> Hi,
>
> One thing I've been finding really annoying about TortoiseHG at the moment 
> (one of the only things in fact) is the fact that if you launch hgtk from a 
> command prompt, and then some time later hit Ctrl-C in that command prompt, 
> it kills all of your hgtk windows. I just lost a very long commit message 
> that way.
>
> Is there a way to disable this behaviour, or should I raise an issue in the 
> bug tracker?
>    

Ctrl-C in a unix command prompt is meant to stop the running program. It 
would be annoying if it didn't. It is unfortunate that Ctrl-C also is 
one of the most common gui shortcuts, but tortoisehg is not the place to 
get a revolution of this started.

A simple solution is to run it in the background by appending "&" when 
you launch hgtk. You can also change the default be setting "nofork = 
False" in the util/config.py generated by setup.py.

(I found it annoying when hgtk sometimes forked a GUI application and 
sometimes returned console output, especially on unix where the shell 
has a simple way to run in the background and few (but, admitted, some) 
applications forks a gui process. Thus I pushed for making it 
configurable - and default to nofork on unix.)

Besides that, it could be nice if tortoisehg regularly saved backups of 
commit messages while they were being written.

/Mads

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Tortoisehg-discuss mailing list
Tortoisehg-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to