[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: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: Fri, 24 Jul 2009 14:29:10 +0200

On 2009-07-24 12:42:34 +0200, Ulrich Eckhardt wrote:
> On Friday 24 July 2009, Mikel Ward 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.
>
> Actually, I would rather have "svn commit" pick up an old svn-commit.tmp if
> the operation failed earlier. After all, it left the file there!

I'd like this too, but the client should check that the new commit
is the "same" as the old one.

> Better still would be not to leave any files around. Instead, attach
> the comments to the changed items separately from checking them in,
> so that I can comment changes locally without committing them. Then,
> when committing the files, the client would collect the comments
> from the selected files, put them together and present them as
> template for the commit message.

Yes. And I think this would allow the user to prepare a commit while
being offline.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
Received on 2009-07-24 14:34:22 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.