Show More
@@ -227,7 +227,7 b' def sign(ui, repo, *revs, **opts):' | |||||
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. |
|
230 | raise util.Abort(_("error while signing")) | |
231 | sig = binascii.b2a_base64(sig) |
|
231 | sig = binascii.b2a_base64(sig) | |
232 | sig = sig.replace("\n", "") |
|
232 | sig = sig.replace("\n", "") | |
233 | sigmessage += "%s %s %s\n" % (hexnode, sigver, sig) |
|
233 | sigmessage += "%s %s %s\n" % (hexnode, sigver, sig) |
@@ -1270,7 +1270,7 b' def debugindex(ui, repo, file_, **opts):' | |||||
1270 |
|
1270 | |||
1271 | format = opts.get('format', 0) |
|
1271 | format = opts.get('format', 0) | |
1272 | if format not in (0, 1): |
|
1272 | if format not in (0, 1): | |
1273 |
raise util. |
|
1273 | raise util.Abort("unknown format %d" % format) | |
1274 |
|
1274 | |||
1275 | if not r: |
|
1275 | if not r: | |
1276 | r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_) |
|
1276 | r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_) |
General Comments 0
You need to be logged in to leave comments.
Login now