[Updated] D8818: merge: improve documentation of fbid dict used for merge bid
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sun Aug 2 17:44:18 UTC 2020
Closed by commit rHG98218c83242f: merge: improve documentation of fbid dict used for merge bid (authored by pulkit).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D8818?vs=22102&id=22201
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8818/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D8818
AFFECTED FILES
mercurial/merge.py
CHANGE DETAILS
diff --git a/mercurial/merge.py b/mercurial/merge.py
--- a/mercurial/merge.py
+++ b/mercurial/merge.py
@@ -989,10 +989,12 @@
)
)
- # Call for bids
- fbids = (
- {}
- ) # mapping filename to bids (action method to list af actions)
+ # mapping filename to bids (action method to list af actions)
+ # {FILENAME1 : BID1, FILENAME2 : BID2}
+ # BID is another dictionary which contains
+ # mapping of following form:
+ # {ACTION_X : [info, ..], ACTION_Y : [info, ..]}
+ fbids = {}
diverge, renamedelete = None, None
for ancestor in ancestors:
repo.ui.note(_(b'\ncalculating bids for ancestor %s\n') % ancestor)
@@ -1033,6 +1035,7 @@
else:
fbids[f] = {m: [a]}
+ # Call for bids
# Pick the best bid for each file
repo.ui.note(_(b'\nauction for merging merge bids\n'))
actions = {}
To: pulkit, #hg-reviewers, indygreg
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200802/b54002ca/attachment-0002.html>
More information about the Mercurial-patches
mailing list