##// END OF EJS Templates
rebase: remove an unnecessary adjustdest in clearrebased...
Jun Wu -
r34009:06b0cc25 default
parent child Browse files
Show More
@@ -1497,7 +1497,7 b' def clearrebased(ui, repo, destmap, stat'
1497 # Move bookmark of skipped nodes to destination. This cannot be handled
1497 # Move bookmark of skipped nodes to destination. This cannot be handled
1498 # by scmutil.cleanupnodes since it will treat rev as removed (no successor)
1498 # by scmutil.cleanupnodes since it will treat rev as removed (no successor)
1499 # and move bookmark backwards.
1499 # and move bookmark backwards.
1500 bmchanges = [(name, tonode(max(adjustdest(repo, rev, destmap, state))))
1500 bmchanges = [(name, tonode(state[rev]))
1501 for rev in skipped
1501 for rev in skipped
1502 for name in repo.nodebookmarks(tonode(rev))]
1502 for name in repo.nodebookmarks(tonode(rev))]
1503 if bmchanges:
1503 if bmchanges:
General Comments 0
You need to be logged in to leave comments. Login now