[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: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-08-14 20:16:39 CEST

On 8/14/07, Andreas S <andreas_s@hotmail.com> wrote:
>
> Thank you for your quick reply. Where does the editor has to save it in order
> for SVN to pick it up?

Subversion reads the file it supplies to you.

> I saved the file as is, ./svn_compare.tmp but I don't
> see my log message with svn log. Or am I not suppose to read the message
> using svn log?

Yes, you are. But you shouldn't save it under a different name. If you
do that, how is svn supposed to know where you saved it?

> Or is the purpose is to hold the message in case commit fails and if commit
> succeeded then my message in svn_compare.tmp would be discarded?

Yes, that's the secondary usage. Most editors only know how to edit
files, so svn needs to pass a file into your editor in order to know
what you typed as a commit message.

> You are correct, if I use -m "message" then the file is not created.

HTH,

Erik.

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