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

Re: remove svn-commit.tmp after commit?

From: David Weintraub <qazwart_at_gmail.com>
Date: Thu, 23 Jul 2009 22:49:51 -0400

I think you'll get a bit of debate out of this...

First of all, imagine I am fixing a rather complex bug. I want to make
a few commits when fixing it. But, I want to use the same commit
remarks over and over ("BUG-1234: Partial fix.").

I create a file that contains my commit remarks, but when I commit, it
disappears.

You could limit this to files in the form of snv-commit[0-9].tmp, but
I think people will even argue that a revision control system
shouldn't delete a file unless it is specifically told to.

Personally, I've done the samething many, many times, and I hate it.
Fortunately, you can change the revprop svn:log and fix it. i've
gotten into the habit to do a "svn st" before I commit. Not does it
detect the svn-commit.tmp files, but it also will point out other
possible oases too.

--
David Weintraub
David_at_Weintraub.name
Sent from my iPhone while riding in my Ferrari. (Jealous?)
On Jul 23, 2009, at 8:48 PM, Mikel Ward <mikel_at_mikelward.com> wrote:
> Occasionally when I do a commit, it fails because somebody else had
> also done a commit recently.
>
> So then I try to do svn ci -F svn-commit.tmp.
>
> Today I did that out of habit, but I should have done svn ci -F
> svn-commit.2.tmp because svn-commit.tmp was an old one from a previous
> commit.
>
> I would really like it if svn commit cleaned up svn-commit.*.tmp after
> a successful commit, presumably by removing the argument to svn ci -F.
>
> Failing that, I guess one workaround is for me to type svn ci -F
> svn-commit* so it fails if there are two?
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2375054
>
> To unsubscribe from this discussion, e-mail: [users- 
> unsubscribe_at_subversion.tigris.org].
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2375069
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-24 04:50:36 CEST

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.