gpg: remove revnum from output

Reviewed By: singhsrb

Differential Revision: D24201943

fbshipit-source-id: 6998ff68ba50480fb7feb4be3b35de1ea4a3ab4a
This commit is contained in:
Jun Wu 2020-10-09 13:50:58 -07:00 committed by Facebook GitHub Bot
parent 3700c832f9
commit 631034a2d6
2 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,7 @@ def _dosign(ui, repo, *revs, **opts):
for n in nodes:
hexnode = hgnode.hex(n)
ui.write(_("signing %d:%s\n") % (repo.changelog.rev(n), hgnode.short(n)))
ui.write(_("signing %s\n") % (hgnode.short(n)))
# build data
data = node2txt(repo, n, sigver)
sig = mygpg.sign(data)

View File

@ -38,7 +38,7 @@ and migrate secret keys
$ hg sigs
$ HGEDITOR=cat hg sign -e 0
signing 0:e63c23eaa88a
signing e63c23eaa88a
Added signature for changeset e63c23eaa88a