Setting CVS $Id$ tag equivalent in SVN through Eclipse

In CVS, $Id$ tag is probably most used tag/keyword. You can have similar effect in svn using keyword property.

Here is how you can do it:

Setting up through command-line/shell:

svn propset svn:keywords "Id" [file-name]
If you are using command-line only, then jump to final instruction

Setting up through Eclipse

Navigate to your project file. Step1 Next Step2

  Add $Id$ to your document and commit the changes. You will see that $Id$ has been replaced with something similar to following message:

$Id: index.php 11 2009-03-21 16:54:16Z hossain $
Which can be interpreted as:
$Id: [File-Name] [Revision#] [Date] [Time] [Username] $

Further Reading:

  1. SVN Book - Keywords
  2. CVS Book - Tags/Keywords

Comments

Do you acknowledge that it is correct time to get the home loans, which would help you.

Have no a lot of cash to buy a car? Worry no more, because that's available to take the business loans to resolve such kind of problems. Hence get a auto loan to buy everything you want.

© Hossain Khan - Some rights reserved.
Creative Commons License This site is licensed under a Creative Commons Attribution-Noncommercial 2.5 License.