svn tags

Thomas Pegg thomasp at linuxfromscratch.org
Tue Oct 12 19:38:05 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kevin P. Fleming wrote:
| James Robertson wrote:
|
|> Just to clarify, I wanted to add this construct to each XML file
|>
|> (!--
|>         Last Changed Date: $LastChangedDate$
|>         Last Changed By:   $LastChangedBy$
|>     Revision:          $LastChangedRevision$
|> --)
|
|
| I don't have a problem with this, although it is duplicated information
| if the person looking at the file has access to the SVN repository
| (since they could determine the same information using SVN itself).
|
| As long as it doesn't produce any performance problems (making checkouts
| slower, for example) then I have no issues with it.

Sounds cool to me, I like having that info right in the file even though
I can get it from the command line.

Oh James, I saw your commits to do this on the syntax_doc and stuff, you
forgot to enable the substitution of those keywords.

A command like this should do the trick:
svn ps svn:keywords \
~ 'LastChangedDate LastChangedRevision LastChangedBy' *

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBbJUNs/fpwCov90QRAhoxAJ9r0nF3Va27G/d1LdQuebh+eWgYBwCeO89Q
yJIzx00Tj0oMKoCt851ETQI=
=TJ+1
-----END PGP SIGNATURE-----



More information about the alfs-discuss mailing list