setting a keyword tag like Id or Header in subversion
-
update
~/.subversion/config
[miscellany]
enable-auto-props = yes
[auto-props]
svn:keywords=Id Header
-
set props on existing files
find . -exec svn propset svn:keywords "Id Header" {} \;
-
add the Id tag to each file.
#!/bin/sh
#
# version: $Header$
#
############################################################
cat | while read file ; do ls $file ; done
############################################################
# vim: set syn=python noet ts=4 sw=4 tw=78:
# EOF: filename