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

Re: svn-commit.tmp. How is it intended to be used?

From: Andreas S <andreas_s_at_hotmail.com>
Date: 2007-08-14 23:59:49 CEST

Oh, I apologize. I was using gvim for my editor. I thought it wouldn't make a
difference between vim and gvim, apparently it does.

After I switched my editor to vim, then it works correctly.

With vim, commit just continues after I save and quit from vim. With gvim,
svn pops up a gvim window for svn-commit.tmp file and, in the terminal, it
asks for input:

Log message unchanged or not specified
a)bort, c)ontinue, e)edit

It continues to commit after I hit 'c', as you know it. But I thought
hitting c would do make svn to read that svn-commit.tmp file (I think I
didn't hit 'c' too fast. I was able to look into the file first before I hit
'c'). Apparently not (is that right?)

By the way, to answer the other question, yes, the commit was successful.
I'm also on a network mounted drive.

Out of curiosity, I tried emacs instead. svn pops up emacs, it doesn't ask
for input and things work correctly as with vim. I guess I shouldn't use
gvim with svn.

Thank you very much, all of you.

-andre

Benjamin Podszun wrote:
>
>
> Maybe a dumb question, but:
>
> - How is your editor launched? Does it (don't think that, but I just have
> to ask) start from a shell script? Start in the background somehow? The
> assumption here would be, that svn creates the file, opens it with your
> editor (which returns immediately) and after that just happily commits,
> while you still write your test logmessage.
>
> - Are you on a network mounted drive (The reason for my question is, that
> I don't know if locking is involved in this wait-for-message process and
> nfs etc. might be bad here. Just a wild guess though).
>
> Both ideas are probably way off, but since I've never heard about an issue
> like this they might be worth a try.
>
> Regards,
> Ben
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

-- 
View this message in context: http://www.nabble.com/svn-commit.tmp.-How-is-it-intended-to-be-used--tf4268295.html#a12153004
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 14 23:57:50 2007

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.