[arch-dev-public] SVN $Id$ tags

Aaron Griffin aaronmgriffin at gmail.com
Fri Apr 18 17:02:02 EDT 2008


Just a note for you all. If you want svn to modify the $Id$ tags the
way SVN does, you need to enable it for the PKGBUILD.

This is done like so:

   svn propset svn:keywords Id <filename>

The available keywords for replacement are:
   LastChangedDate
   LastChangedRevision
   LastChangedBy
   HeadURL
   Id

Please keep in mind the above is a "set" operation, not an "append"
operation - if I later set svn:keywords to HeadURL, it overwrites the
previous setting. You can do the following to set multiple keywords:

   svn propset svn:keywords "Id HeadURL LastChangedBy" <filename>

If you guys like, we can run this once across the whole repo for all PKGBUILDs.

   find . -name PKGBUILD -exec svn propset svn:keywords Id {} \;

What do you think?




More information about the arch-dev-public mailing list