[Updated] D8739: mergestate: document what mergestate._results is for

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sun Jul 19 10:38:25 UTC 2020


Closed by commit rHGa5be403dd7a0: mergestate: document what mergestate._results is for (authored by pulkit).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8739?vs=21891&id=21974

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8739/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8739

AFFECTED FILES
  mercurial/mergestate.py

CHANGE DETAILS

diff --git a/mercurial/mergestate.py b/mercurial/mergestate.py
--- a/mercurial/mergestate.py
+++ b/mercurial/mergestate.py
@@ -267,6 +267,11 @@
                 self._labels = [l for l in labels if len(l) > 0]
             elif not rtype.islower():
                 unsupported.add(rtype)
+        # contains a mapping of form:
+        # {filename : (merge_return_value, action_to_be_performed}
+        # these are results of re-running merge process
+        # this dict is used to perform actions on dirstate caused by re-running
+        # the merge
         self._results = {}
         self._dirty = False
 



To: pulkit, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200719/b89e677a/attachment-0002.html>


More information about the Mercurial-patches mailing list