views:

65

answers:

1

Hi,

I would like to fill the comment tag @version with mercurial in Eclipse. To do it with subversion I did this:

  1. Placed "@version $$Id$$" in the java source file.

  2. I right click on the project, select "Team -> set Property"

  3. Property name: Enter "svn:keywords"

  4. Enter a text property: Enter "Id"

  5. Check the option "Set property recursively"

  6. Click "OK"

Does anyone know the mercurial equivalent to the subversion process above?

Many thanks.

Related to: http://stackoverflow.com/questions/2295661/fill-version-tag-with-subversion-in-eclipse

+2  A: 

Mercurial comes bundled with the KeywordExtension that will do what you want.

Niall C.