Question

Simply setting the SVN_EDITOR variable to "mate" does not get the job done. It opens TextMate when appropriate, but then when I save the message and exit, I'm prompted to continue, abort or try again. It seems like the buffer isn't returned to the svn command for use.

Was it helpful?

Solution

You need to include a command line option in your SVN_EDITOR (or EDITOR) variable

export SVN_EDITOR='mate -w'

This makes the svn command wait for the editor to close/release the file before continuing, which is where the process is getting mucked up now.

See here.

OTHER TIPS

I found this thread googling for textmate as svn editor. While trying I found out that you can also set the editor-cmd in ~/.subversion/config file and more important you should set the value to mate -wl1 because in this way the caret will be placed on the first line of the file, the place where to put comments for commit message.

Just my contribute to this thread.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top