Show More
@@ -498,8 +498,8 b' def histedit(ui, repo, *parent, **opts):' | |||
|
498 | 498 | keep = opts.get('keep', False) |
|
499 | 499 | revs = between(repo, parent, topmost, keep) |
|
500 | 500 | if not revs: |
|
501 | ui.warn(_('nothing to edit\n')) | |
|
502 | return 1 | |
|
501 | raise util.Abort(_('%s is not an ancestor of working directory') % | |
|
502 | node.short(parent)) | |
|
503 | 503 | |
|
504 | 504 | ctxs = [repo[r] for r in revs] |
|
505 | 505 | rules = opts.get('commands', '') |
General Comments 0
You need to be logged in to leave comments.
Login now