I've set SVN_EDITOR to mate in hopes of using it to compose my check- in messages. Everything seems to work fine, I get a window in TextMate all set up with spiffy colored lines showing me the files that changed, etc. When I'm done editing, I hit Cmd-S and Cmd-W, but in the shell window of Terminal I see:
Log message unchanged or not specified (a)bort, (c)ontinue, (e)dit:
What am I doing wrong?
Bryan
On Mon, Nov 9, 2009 at 13:51, Bryan Lockwood lockwood.bryan@mac.com wrote:
I've set SVN_EDITOR to mate in hopes of using it to compose my check- in messages. Everything seems to work fine, I get a window in TextMate all set up with spiffy colored lines showing me the files that changed, etc. When I'm done editing, I hit Cmd-S and Cmd-W, but in the shell window of Terminal I see:
Log message unchanged or not specified (a)bort, (c)ontinue, (e)dit:
What am I doing wrong?
The `mate` utility exits before you could save your document. This is as designed, you can set SVN_EDITOR to `mate --wait` and it should work.
HTH, Martin
On Nov 9, 2009, at 7:58 AM, Martin Kühl wrote:
The `mate` utility exits before you could save your document. This is as designed, you can set SVN_EDITOR to `mate --wait` and it should work.
You can also create a symbolic link to the `mate` command called `mate_wait` and it will run with as though you added the `--wait` by default. (You would then set your SVN_EDITOR to `mate_wait`.) This is useful for situations where whitespace is undesirable in environment variables.
Am 09.11.2009 um 13:51 schrieb Bryan Lockwood:
I've set SVN_EDITOR to mate in hopes of using it to compose my check- in messages. Everything seems to work fine, I get a window in TextMate all set up with spiffy colored lines showing me the files that changed, etc. When I'm done editing, I hit Cmd-S and Cmd-W, but in the shell window of Terminal I see:
Log message unchanged or not specified (a)bort, (c)ontinue, (e)dit:
What am I doing wrong?
I think, you need to set
SVN_EDITOR=mate -w
HTH,
Andreas