hgext/rebase.py
changeset 34025 06b0cc2588de
parent 34024 32528419db64
child 34026 9422107a6b64
--- a/hgext/rebase.py	Mon Aug 21 20:22:07 2017 -0700
+++ b/hgext/rebase.py	Tue Aug 29 17:49:13 2017 -0700
@@ -1497,7 +1497,7 @@
     # Move bookmark of skipped nodes to destination. This cannot be handled
     # by scmutil.cleanupnodes since it will treat rev as removed (no successor)
     # and move bookmark backwards.
-    bmchanges = [(name, tonode(max(adjustdest(repo, rev, destmap, state))))
+    bmchanges = [(name, tonode(state[rev]))
                  for rev in skipped
                  for name in repo.nodebookmarks(tonode(rev))]
     if bmchanges: