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:
Placed "@version $$Id$$" in the java source file.
I right click on the project, select "Team -> set Property"
Property name: Enter "svn:keywords"开发者_高级运维
Enter a text property: Enter "Id"
Check the option "Set property recursively"
Click "OK"
Does anyone know the mercurial equivalent to the subversion process above?
Many thanks.
Related to: Fill @version tag with subversion in Eclipse
Mercurial comes bundled with the KeywordExtension that will do what you want.
精彩评论