Re: svn:keywords last changed checked out directory revision number
From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-03-30 19:03:08 CEST
Adam Gibson wrote:
> How do most people deal with including a revision number in their apps?
For a Unix-like OS, the following will do what you might want:
$ echo -n "#define REVISION " > rev.h
NOTE: you should do `svn up' prior to this, or you might get a mixed revision
I say "might want" above because the revision number is not necessarily the
If that is OK for your purposes, then you can use something like the above in
HTH
John
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Tue Mar 30 19:03:50 2004 |
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.