Monday, April 26, 2010

Re: How to embed VCSInfo into file comments?

Looks like I was barking up the wrong tree. The direct way of doing this for
subversion is via:

svn propset svn:keywords "Date Author" MySource.cpp

and embedding $keywords$ right in the source code like this:

/*
* $Rev$
* $LastChangeDate$
*
*/

Google around for setting this up automatically for new files so you don't
need to svn propset all the time.

- K


--
View this message in context: http://old.nabble.com/How-to-embed-VCSInfo-into-file-comments--tp28368443p28369150.html
Sent from the Vim - General mailing list archive at Nabble.com.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Subscription settings: http://groups.google.com/group/vim_use/subscribe?hl=en

No comments: