hgext/gpg.py
branchstable
changeset 10510 f77f3383c666
parent 10394 4612cded5176
child 10517 13448eab08ca
equal deleted inserted replaced
10509:3e7e789d9494 10510:f77f3383c666
   219         if not nodes:
   219         if not nodes:
   220             nodes = [repo.changelog.tip()]
   220             nodes = [repo.changelog.tip()]
   221 
   221 
   222     for n in nodes:
   222     for n in nodes:
   223         hexnode = hgnode.hex(n)
   223         hexnode = hgnode.hex(n)
   224         ui.write("Signing %d:%s\n" % (repo.changelog.rev(n),
   224         ui.write(_("Signing %d:%s\n") % (repo.changelog.rev(n),
   225                                       hgnode.short(n)))
   225                                          hgnode.short(n)))
   226         # build data
   226         # build data
   227         data = node2txt(repo, n, sigver)
   227         data = node2txt(repo, n, sigver)
   228         sig = mygpg.sign(data)
   228         sig = mygpg.sign(data)
   229         if not sig:
   229         if not sig:
   230             raise util.Abort(_("Error while signing"))
   230             raise util.Abort(_("Error while signing"))