[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: Jason M. Sullivan <jasons_at_otii.com>
Date: Fri, 03 Oct 2008 10:56:37 -0400

Kris Deugau wrote:
> 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.
That just opens up a new window, and still exits immediately, so the
problem is the same. (at least, on my machine that's what it does).

The 2006 summer of code project SingleInstance seemed to be the right
direction to solve this problem, but it looks like the project stalled


Jason M. Sullivan
Optimal Technologies (US), Inc.
ASIC Design Engineer
[t] 919.459.3607
[f] 919.334.6519
jasons_at_otii.com <mailto:jasons_at_otii.com>
http://www.otii.com <http://www.otii.com/>
We optimize your world™
The information contained in or attached to this e-mail message is 
intended solely for the person to whom it is addressed, and may be 
privileged, confidential, and protected from disclosure. If you are not 
the intended recipient, your dissemination, distribution, copying, or 
use of the message, attachments, or any information contained therein in 
any way is strictly prohibited. If you think you have received this 
message in error, please notify the sender immediately by replying to 
this message, then delete this message and all attachments from your 
system. Thank you.
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:57:14 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.