[Updated] D8599: rebase: remove now-unused arguments from rebasenode()
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Sat Jun 6 01:40:03 UTC 2020
martinvonz edited the summary of this revision.
martinvonz updated this revision to Diff 21567.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D8599?vs=21528&id=21567
BRANCH
default
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8599/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D8599
AFFECTED FILES
hgext/rebase.py
CHANGE DETAILS
diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -552,7 +552,6 @@
def _rebasenode(self, tr, rev, allowdivergence, progressfn):
repo, ui, opts = self.repo, self.ui, self.opts
- dest = self.destmap[rev]
ctx = repo[rev]
desc = _ctxdesc(ctx)
if self.state[rev] == rev:
@@ -605,16 +604,7 @@
else:
overrides = {(b'ui', b'forcemerge'): opts.get(b'tool', b'')}
with ui.configoverride(overrides, b'rebase'):
- stats = rebasenode(
- repo,
- rev,
- p1,
- p2,
- base,
- self.collapsef,
- dest,
- wctx=self.wctx,
- )
+ stats = rebasenode(repo, rev, p1, p2, base, wctx=self.wctx)
if stats.unresolvedcount > 0:
if self.inmemory:
raise error.InMemoryMergeConflictsError()
@@ -1452,7 +1442,7 @@
return newnode
-def rebasenode(repo, rev, p1, p2, base, collapse, dest, wctx):
+def rebasenode(repo, rev, p1, p2, base, wctx):
"""Rebase a single revision rev on top of p1 using base as merge ancestor"""
# Merge phase
# Update to destination and merge it with local
To: martinvonz, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20200606/a442c485/attachment-0001.html>
More information about the Mercurial-patches
mailing list