equal
deleted
inserted
replaced
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")) |