Print Current Mercurial Revision Hash?

后端 未结 8 1927
无人共我
无人共我 2020-12-12 20:04

Is there a better way extract the current revision hash in Mercurial than

hg log -l1|grep changeset|cut -d: -f3

?

Part of my webapp depl

8条回答
  •  死守一世寂寞
    2020-12-12 20:23

    In case TortoiseHg is used, right-click the revision row in the Workbench and select "Copy hash" (as per documentation).

提交回复
热议问题