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

Travis Willard travis at archlinux.org
Fri Apr 18 17:28:57 EDT 2008


On Fri, Apr 18, 2008 at 5:02 PM, Aaron Griffin <aaronmgriffin at gmail.com> wrote:
> 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?

Go for it




More information about the arch-dev-public mailing list