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

svn:keywords last changed checked out directory revision number

From: Adam Gibson <agibson_at_ptm.com>
Date: 2004-03-30 18:51:49 CEST

How do most people deal with including a revision number in their apps?
The svn:keywords Rev will not work since that is specific to that one
file which might not have changed. The only way it would work for that
purpose is if there was a TopLevelRev svn:keyworks property or something
like that which always indicated the currently checked out top level
directory revision.

Repository Example:

svn/proj1/trunk/
                vers.h
                source.c

If you check out trunk:

svn co svn/proj1/trunk

so that your current working copy looks like this:

trunk/
      vers.h
      source.c

TopLevelRev would always indicate the last changed revision where
something under trunk and below was changed and not the current revision
of the repository where other directory changes could have bumped up the
repository revision number.

I could then set TopLevelRev svn:keywords on vers.h so that the last
changed revision for that checked out directory would always be
indicated in applications that I build.

-- 
Adam Gibson <agibson@ptm.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 30 18:52:24 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.