[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: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-02-08 00:42:50 CET

On 2/7/07, Bill Moseley <moseley@hank.org> 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.

What prevents you from simply entering this information in the commit
log, and then generating your Changes file for release from the
Subversion log? You'll get the date, time & revision number
automatically.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 8 00:43:10 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.