Confused Development

I develop software and I often get confused in the process. I usually find the answers after a while, but a month later I can't remember them. So from now on, I will write them down here.

Friday, February 11, 2011

Using the svn:keywords property (Keyword Substitution)

I always forget this, so here it goes:

svn propset svn:keywords "Id" filename.txt

Other keywords are: Date, Revision, Author, HeadURL. You can set several keywords at once like this:

svn propset svn:keywords "Date Author" filename.txt

The original documentation is in the SVN book.

Labels:

0 Comments:

Post a Comment

<< Home