hg parents --template {latesttag}+{latesttagdistance}
私はバージョンファイルを取得するために使用します。取得しnull+78
ます。
これhg parents
が私を惹きつけるものです:
changeset: 79:74a86aec9582
tag: 0.8.010
tag: tip
user: XYZ
date: Mon Sep 10 14:48:03 2012 +0200
summary: jQuery, jQuery UI, and jqGrid updates completed as basis
なぜ私は取得しないの 0.8.010 tag+1
ですか?
ここlatesttag
で説明するように、アプローチは標準です。