0
我需要當前版本(最新文件的版本),當我執行hg歸檔時,它的標籤將包含在文件中。 當使用關鍵字擴展名時,包含每個文件的最新版本,而不是當前版本。 例子:Mercurial將當前版本號插入到hg檔案文件中
repository contents:
file1 Jan 1st 2013 latest change tag v2.0
file2 Mar 1st 2013 latest change tag v1.0
我需要的是產生V2.0歸檔和每個文件中自動插入「V2.0」,即使它沒有被下2.0變更改變。
'汞柱登錄--template「{} latesttag」 -r .'可變 –
關鍵字擴展將**不**添加最新的標籤*的存儲庫*到單個文件 –