Comments
Patch
@@ -482,7 +482,7 @@
rulectx."""
ctx = self.repo['.']
if ctx.node() == self.state.parentctxnode:
- self.repo.ui.warn(_('%s: empty changeset\n') %
+ self.repo.ui.warn(_('%s: skipping changeset (no changes)\n') %
node.short(self.node))
return ctx, [(self.node, tuple())]
if ctx.node() == self.node:
@@ -117,12 +117,14 @@
(hg histedit --continue to resume)
just continue this time
+keep the non-commuting change, and thus the pending change will be dropped
$ hg revert -r 'p1()' e
$ hg resolve --mark e
(no more unresolved files)
continue: hg histedit --continue
+ $ hg diff
$ hg histedit --continue 2>&1 | fixbundle
- 7b4e2f4b7bcd: empty changeset
+ 7b4e2f4b7bcd: skipping changeset (no changes)
log after edit
$ hg log --graph
@@ -262,7 +264,7 @@
(no more unresolved files)
continue: hg histedit --continue
$ hg histedit --continue 2>&1 | fixbundle
- 7b4e2f4b7bcd: empty changeset
+ 7b4e2f4b7bcd: skipping changeset (no changes)
log after edit
$ hg log --graph
@@ -171,7 +171,7 @@
(no more unresolved files)
continue: hg histedit --continue
$ hg histedit --continue 2>&1 | fixbundle
- 7b4e2f4b7bcd: empty changeset
+ 7b4e2f4b7bcd: skipping changeset (no changes)
log after edit
$ hg log --graph
@@ -254,7 +254,7 @@
(no more unresolved files)
continue: hg histedit --continue
$ hg histedit --continue 2>&1 | fixbundle
- 7b4e2f4b7bcd: empty changeset
+ 7b4e2f4b7bcd: skipping changeset (no changes)
post message fix
$ hg log --graph