Show More
@@ -273,6 +273,8 b' def unamend(ui, repo, **opts):' | |||
|
273 | 273 | curctx = repo[b'.'] |
|
274 | 274 | |
|
275 | 275 | rewriteutil.precheck(repo, [curctx.rev()], b'unamend') |
|
276 | if len(curctx.parents()) > 1: | |
|
277 | raise error.InputError(_(b"cannot unamend merge changeset")) | |
|
276 | 278 | |
|
277 | 279 | # identify the commit to which to unamend |
|
278 | 280 | markers = list(predecessormarkers(curctx)) |
General Comments 0
You need to be logged in to leave comments.
Login now