You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ben Kim <bk...@tamu.edu> on 2009/10/14 18:17:41 UTC

Reusing svn-commit.tmp

Hi list,

I recently have a network problem to the svn server, so the connection 
fails intermittently. (This is not a svn problem.)

When I do a commit when the connection fails, I'm left with the 
svn-commit.tmp.

If I try a few times it works. But each time, I need to re-enter the 
log messages.

Is there a switch that let me re-use the log messages (or read it from 
svn-commit.tmp, or the latest one, like svn-commit.6.tmp)?



Thanks.

Ben Kim

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2407680

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Reusing svn-commit.tmp

Posted by David Weintraub <qa...@gmail.com>.
You can use the "-F" option in the command line client:
*
**$ svn commit -F svn-commit.tmp*

However, if you prefer to see the previously failed comment and be given the
opportunity to edit it, things get a bit more tricky.

You can create a tiny shell script that will read in this file in the editor
if this file exists. Otherwise, the commit brings up a blank screen.

On Wed, Oct 14, 2009 at 2:17 PM, Ben Kim <bk...@tamu.edu> wrote:

> Hi list,
>
> I recently have a network problem to the svn server, so the connection
> fails intermittently. (This is not a svn problem.)
>
> When I do a commit when the connection fails, I'm left with the
> svn-commit.tmp.
>
> If I try a few times it works. But each time, I need to re-enter the
> log messages.
>
> Is there a switch that let me re-use the log messages (or read it from
> svn-commit.tmp, or the latest one, like svn-commit.6.tmp)?
>
>
>
> Thanks.
>
> Ben Kim
>
> ------------------------------------------------------
>
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2407680
>
> To unsubscribe from this discussion, e-mail: [
> users-unsubscribe@subversion.tigris.org].
>



-- 
David Weintraub
qazwart@gmail.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2407712

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].