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

using svn on windows inside 4NT

From: Ben Lowery <blowery_at_gmail.com>
Date: 2004-06-23 04:28:55 CEST

Greetings,

I just started using subversion (client on windows xp) and I quickly
ran into a bit of a snag. My preferred command shell is 4NT (from
http://www.jpsoft.com), and svn doesn't seem to play nice with it when
attempting to shell out to the editor for commit messages. To
illustrate, if I run:

set svn_editor=notepad
svn commit

Another shell instance starts up. Once I exit that instance, the
following is printed to the terminal window:

svn: Commit failed (details follow):
svn: system('notepad svn-commit.tmp') returned 2

As workarounds, I've found that the standard cmd.exe shell on windows
works just fine. The "svn commit" fires up notepad and I'm able to
enter in my little commit message. Additionally, I can use
--message="foo" to enter in a message from my 4NT shell. It's just
annoying that spawning the editor doesn't seem to work from within
4NT. I've also tried quoting the name of the editor ( set
svn_editor="notepad" ) and using a different editor ( set
svn_editor=emacs ). Nothing really seems to help; I just get the same
error message.

Now, all this said, I have no idea if this is a bug in 4NT or a bug in
how subversion spawns the editor. I would wager it's more an issue
with 4NT. 4NT is complaining that it's getting an unknown command (
4NT: Unknown command "C:\Program" ) when the spawn happens, so maybe
the tmp file lives in \Program Files\ someplace and the argument needs
to be surrounded in quotes to make 4NT happy? I'm unsure.

Anyway, I'm curious if any other windows users are using 4NT, and if
so, have they run into this problem. I know I'm probably in a
minority of a minority here, but I thought I'd give it a shot. :)

Thanks for any help,

--b

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 23 04:30:12 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.