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

Re: Adding Revision Number to Changes file comment

From: Jeff Smith <jsmith_at_robotronics.com>
Date: 2007-02-07 22:41:16 CET

On Wednesday 07 February 2007 12:21, Bill Moseley wrote:
> When I make a change to some code I also make a note in the Changes
> file. I'd like to included with this note the revision number. Of
> course, I don't know the number yet because the change hasn't been
> checked in yet.
>
> That is, I'd like to be able to type:
>
> Wed Feb 7 17:50:46 UTC 2007
> Patch provided by foo to fix nasty bug. Fixed in rev $Rev.
>
> and then at checkin have $Rev set to the revision number so after
> that point the revision number is plain text and no longer a
> variable.

Well that's the trick... ya don't know yet. It's the trouble with
writing this log before it is released. Although svn doesn't do that,
I would do it with a pre-commit script. That means you'd have to make
up your own syntaxt that won't interfere with the rest of your
content. As for myself, I don't refer to svn revision numbers in the
text, but to the tag which I will name after commit, so I know what
I'm going to call it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 7 22:41:57 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.