|  About Me  |  Blogs  |  Photos  |  Publications  |  Resume  | 

SVN Id Tags

I discovered that $Id$ tags doesn’t work in SVN by default. You need to add the following properties to the file you want the tags to be replaced:

$ svn propset svn:keywords Id "filename"

Alternatively you could enable it in the svn config file by modifying the following lines, but this would only work for files added to the repository henceforth, not existing files.

[miscellany]
enable-auto-props = yes
[auto-props]
*.tex = svn:keywords=Id # enable id for tex files

Here’s a nice discussion on SVN <-> CVS migration.

One Response to “SVN Id Tags”

  1. Joachim Nilsson Says:

    Just a quick remark, the title of this entry is misspelled “SNV” vs. “SVN”.

    Thanks for a very useful site!

    /Jocke

Leave a Reply

You must be logged in to post a comment.