[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: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-08-14 18:20:27 CEST

On 8/14/07, Andreas S <andreas_s@hotmail.com> wrote:
>
> Hi, I just began to use subversion and I don't I understand how I'm suppose
> to use this svn-commit.tmp file. I've spent some hours trying to find
> information about it. The only good clue I've got is from wikipedia. Still,
> something must have escaped me.
>
> > ls
> joe
> > echo hello > joe
> > svn commit
>
> Log message unchanged or not specified
> a)bort, c)ontinue, e)dit
>
> Vim pops up and opened svn-commit.tmp. I edited the file:
>
> This is a test for joe
> --This line, and those below, will be ignored--
>
> M joe
>
> Then I hit 'c'
>
> sending joe
> Transmitting file data .
> Commited revision 2
> >svn log joe
> ------------------------------------------------------------------------
> r2 | andre | 2007-08-14 00:16:09 -0700 (Tue, 14 Aug 2007) | 1 line
>
>
> ------------------------------------------------------------------------
> >svn log -v joe
> ------------------------------------------------------------------------
> r2 | andre | 2007-08-14 00:16:09 -0700 (Tue, 14 Aug 2007) | 1 line
> Changed paths:
> A /test1/joe
>
>
> ------------------------------------------------------------------------
> >ls
> joe
>
> Where is the log message from svn-commit.tmp? Can someone help explaining
> what that svn-commit.tmp is for?

It's just a tempfile holding the commit message that you entered in
the editor (the editor has to save it somewhere so that SVN can pick
it up). If your commit was successful, it's deleted because it's no
longer needed. If you specify the commit message on the command line
with -m "this is my commit message" I'm not sure it's created at all.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 14 18:18:36 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.