TEI: svn propset command when adding a new file
Posted by mholmes on 07 Jul 2011 in Activity log
When adding a new XML file to SVN, you need to do the following, to ensure that the headers get added. First, add this manually:
<!-- Copyright TEI Consortium. Dual-licensed under CC-by and BSD2 licences See the file COPYING.txt for details $Date: 2011-07-06 22:07:54 +0100 (Wed, 06 Jul 2011) $ $Id: notatedMusic.xml 9072 2011-07-06 21:07:54Z rahtz $ -->
Then run this command:
svn propset svn:keywords 'LastChangedRevision LastChangedBy Id LastChangedDate HeadURL' filename.xml