[TxMt] Re: Textmate and Mecurial

Caius Durling caius at caius.name
Mon Aug 31 00:51:00 UTC 2009


On 31 Aug 2009, at 01:30, rgreen wrote:

> I have setup textmate as the default editor in terminal.
>
> so, when I type 'hg commit' it opens textmate. I enter the message  
> on the
> first line after the headers and hit save and close textmate and  
> nothing
> happens. What am I doing wrong?


You need to tell the `mate` command to wait for the file to be closed  
in textmate before returning, otherwise hg just gets given an empty  
file instantly.

I do believe it's `mate -w` you need to set as the editor in terminal.

C
---
Caius Durling
caius at caius.name
+44 (0) 7960 268 100
http://caius.name/




More information about the textmate mailing list