[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: "svn commit" and EDITOR=gedit

From: Kris Deugau <kdeugau_at_vianet.ca>
Date: Fri, 03 Oct 2008 10:52:07 -0400

Matthieu Moy wrote:
> The problem is a user who want to use gedit to write commit messages
> for SVN. The obvious first try is "export EDITOR=gedit", but gedit it
> too clever for that: if an instance of gedit is already running, then
> gedit acts as a client, asks the running instance to open the file,
> _end exits immediately_. svn thinks the user is done with the edition,
> and complains about an empty commit message.
>
> I google'd a bit, but "gedit svn" tells me a lot about the SVN repo
> for gedit, but much less about solving my problem :-(.

This isn't really a Subversion issue, but I ran into this same problem
from a different direction.

Change the EDITOR value to "gedit --new-window" to kick gedit into
opening a new window. man gedit may also show you a more suitable
option if your user doesn't like that.

-kgd

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-03 16:52:54 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.