Show More
@@ -751,7 +751,7 b' def between(repo, old, new, keep):' | |||
|
751 | 751 | if repo.revs('(%ld) and merge()', ctxs): |
|
752 | 752 | raise util.Abort(_('cannot edit history that contains merges')) |
|
753 | 753 | root = ctxs[0] # list is already sorted by repo.set |
|
754 |
if not root. |
|
|
754 | if not root.mutable(): | |
|
755 | 755 | raise util.Abort(_('cannot edit immutable changeset: %s') % root) |
|
756 | 756 | return [c.node() for c in ctxs] |
|
757 | 757 |
General Comments 0
You need to be logged in to leave comments.
Login now