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

RE: Re: Adding Revision Number to Changes file comment

From: Fournier,Danny [NCR] <Danny.Fournier_at_ec.gc.ca>
Date: 2007-02-13 19:13:18 CET

I'm also assuming that it's impossible to output commit messages at the
top of each exported pages as well?

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2007a@ryandesign.com]
Sent: Wednesday, February 07, 2007 6:51 PM
To: Jeff Smith; Bill Moseley
Cc: Subversion List
Subject: Re: Adding Revision Number to Changes file comment

On Feb 7, 2007, at 15:53, Jeff Smith wrote:

> On Wednesday 07 February 2007 14:46, Jeff Smith wrote:
>> Well that's the trick... ya don't know yet.
>
> Actually the biggest technical problem with using pre-commit script is

> that it does not know whether someone else is committing
> simultaneously and I don't know the details whether you could preserve

> (lock) a revision number for yourself so the other person doesn't take

> the number you were expecting while modifying the file.

Do NOT modify any file in a pre-commit hook. The server has no way of
informing the client that such a modification has taken place, and then
the server's idea of what the revision looks like is different from the
client's, which will lead to badness. So do not do this.

Bill, I don't think there's any way to do what you want in Subversion.
May I recommend that you record your changes in the svn commit log as
usual, then later, when you want to cut a release, you can create a
changelog from the Subversion log, for example using a tool like svn2cl?

-- 
To reply to the mailing list, please use your mailer's Reply To All
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 13 19:13:49 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.