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

Re: Log length limit on Windows? Problem with using notepad as log editor?

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2004-12-02 21:40:54 CET

On Dec 2, 2004, at 2:11 PM, Brass Tilde wrote:

>>> Scott Palmer writes:
>>> I take it then that you have successfully used notepad as the log
>>> message editor without any issues?
>> Actually no, I don't have a Windows machine to reproduce on.
> How did you start notepad?

See my original message. All I did was set the EDITOR environment
variable to 'notepad'

> Some windows executables return control to the
> calling process immediately, rather than forcing them to wait until the
> program completes. Notepad is one of these (at least from a DOS
> prompt).
> This would cause control to return to the svn invokation, which would
> then
> see an empty file (because Notepad hasn't saved it yet) and continue
> with
> not committing the revision because of an empty comment.

I thought that might be a problem before I tried it. but while notepad
is open the 'svn ci' command does not complete. Only when I save and
exit notepad do I then get the error message. It seems the 'svn ci'
command is waiting for something while I'm in notepad.

> Or using another editor. :-)

I know that notepad isn't much of an editor, but it is quick to launch
and perfect for this sort of task... Come to think of it, it isn't good
for much else :).

I will try the "start /wait notepad" version for my next commit.
Either way, the response from svn is not acceptable. Don't print "svn:
commit failed (details follow):" if you aren't going to follow with
any details :)



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 2 21:43:24 2004

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.