phase: print node, not revision number

Summary: Revision numbers are going away, let's print the node instead.

Reviewed By: quark-zju

Differential Revision: D18544475

fbshipit-source-id: df9ab928a3f7dbbcd95352eebcea46f563eec4f3
This commit is contained in:
Xavier Deguillard 2019-11-18 13:21:22 -08:00 committed by Facebook Github Bot
parent b5f97399a1
commit e9abca78ef

View File

@ -285,9 +285,9 @@ Push-rebase of a commit with p2 being the ancestor of the destination bookmark
$ hg merge -qr 21 && hg ci -qm "merge 10 and 12"
$ hg phase -r $(hg log -r . -T "{p1node}")
23: draft
cd5aac4439e50d4329539ac117bfb3e35d7fb74b: draft
$ hg phase -r $(hg log -r . -T "{p2node}")
21: public
c573a92e1179f7367f4e4a51689d097bb84842ab: public
$ hg log -r master_bookmark -T '{node}\n'
589551466f2555a4d90ca544b23273a2eed21f9d