Details
Details
- Reviewers
durin42 - Group Reviewers
hg-reviewers - Commits
- rHG2bac2d836ce0: rebase: pass the wctx object (IMM or on-disk) to merge.update
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
durin42 |
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | hgext/rebase.py (2 lines) |
Status | Author | Revision | |
---|---|---|---|
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Closed | phillco | ||
Abandoned | phillco |
repo.ui.debug(" already in destination\n") | repo.ui.debug(" already in destination\n") | ||||
repo.dirstate.write(repo.currenttransaction()) | repo.dirstate.write(repo.currenttransaction()) | ||||
repo.ui.debug(" merge against %d:%s\n" % (rev, repo[rev])) | repo.ui.debug(" merge against %d:%s\n" % (rev, repo[rev])) | ||||
if base is not None: | if base is not None: | ||||
repo.ui.debug(" detach base %d:%s\n" % (base, repo[base])) | repo.ui.debug(" detach base %d:%s\n" % (base, repo[base])) | ||||
# When collapsing in-place, the parent is the common ancestor, we | # When collapsing in-place, the parent is the common ancestor, we | ||||
# have to allow merging with it. | # have to allow merging with it. | ||||
stats = mergemod.update(repo, rev, True, True, base, collapse, | stats = mergemod.update(repo, rev, True, True, base, collapse, | ||||
labels=['dest', 'source']) | labels=['dest', 'source'], wc=wctx) | ||||
if collapse: | if collapse: | ||||
copies.duplicatecopies(repo, wctx, rev, dest) | copies.duplicatecopies(repo, wctx, rev, dest) | ||||
else: | else: | ||||
# If we're not using --collapse, we need to | # If we're not using --collapse, we need to | ||||
# duplicate copies between the revision we're | # duplicate copies between the revision we're | ||||
# rebasing and its first parent, but *not* | # rebasing and its first parent, but *not* | ||||
# duplicate any copies that have already been | # duplicate any copies that have already been | ||||
# performed in the destination. | # performed in the destination. |