[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 l og editor?

From: Patrick Smears <patrick.smears_at_ensoft.co.uk>
Date: 2004-12-02 21:11:59 CET

On Thu, 2 Dec 2004, 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? 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.
>
> There may be a way to specify your editor string by invoking the command
> interpreter as the editor command, rather than the editor itself. For
> instance, you might set your editor command to "cmd.exe /C notepad.exe". I
> haven't tested it, so use at your own risk.

If that doesn't work, "start /wait notepad.exe" is also worth a try... the
same disclaimers apply :-)

Patrick

-- 
The easy way to type accents in Windows: http://www.frkeys.com/
---------------------------------------------------------------------
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:14:29 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.