Rory
Rory

Reputation: 21

Fill @version tag with mercurial in eclipse / Keyword substitution

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: Fill @version tag with subversion in Eclipse

Upvotes: 2

Views: 613

Answers (1)

Niall C.
Niall C.

Reputation: 10918

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

Upvotes: 5

Related Questions