开发者

Fill @version tag with mercurial in eclipse / Keyword substitution

开发者 https://www.devze.com 2023-01-14 04:38 出处:网络
I would like to fill the comment tag @version with mercurial in Eclipse. To do it with subversion I did this:

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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消