Show More
@@ -276,6 +276,13 b' def sign(ui, repo, *revs, **opts):' | |||||
276 | except ValueError, inst: |
|
276 | except ValueError, inst: | |
277 | raise util.Abort(str(inst)) |
|
277 | raise util.Abort(str(inst)) | |
278 |
|
278 | |||
|
279 | def shortkey(ui, key): | |||
|
280 | if len(key) != 16: | |||
|
281 | ui.debug("key ID \"%s\" format error\n" % key) | |||
|
282 | return key | |||
|
283 | ||||
|
284 | return key[-8:] | |||
|
285 | ||||
279 | def node2txt(repo, node, ver): |
|
286 | def node2txt(repo, node, ver): | |
280 | """map a manifest into some text""" |
|
287 | """map a manifest into some text""" | |
281 | if ver == "0": |
|
288 | if ver == "0": |
General Comments 0
You need to be logged in to leave comments.
Login now