Patchwork D8047: rust-dirstatemap: add missing @propertycache

login
register
mail settings
Submitter phabricator
Date Feb. 3, 2020, 4:06 p.m.
Message ID <076e4998a52e67ffc4110e57b8c7147c@localhost.localdomain>
Download mbox | patch
Permalink /patch/44904/
State Not Applicable
Headers show

Comments

phabricator - Feb. 3, 2020, 4:06 p.m.
Closed by commit rHG7f5410dfc8a6: rust-dirstatemap: add missing @propertycache (authored by Alphare).
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/D8047?vs=19711&id=19857

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

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

AFFECTED FILES
  mercurial/dirstate.py

CHANGE DETAILS




To: Alphare, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py
--- a/mercurial/dirstate.py
+++ b/mercurial/dirstate.py
@@ -1849,7 +1849,7 @@ 
             nonnorm, otherparents = self._rustmap.nonnormalentries()
             return nonnorm
 
-        @property
+        @propertycache
         def otherparentset(self):
             nonnorm, otherparents = self._rustmap.nonnormalentries()
             return otherparents