manifestdict._intersectfiles: avoid one level of property indirection
authorMartin von Zweigbergk <martinvonz@google.com>
Wed, 08 Apr 2015 10:03:59 -0700
changeset 24665 5326820a2952
parent 24664 ea4a7c8909ae
child 24666 3092885b5b32
manifestdict._intersectfiles: avoid one level of property indirection We have already bothered to extract "lm = self._lm", so let's use "lm" where possible.
mercurial/manifest.py
--- a/mercurial/manifest.py	Wed Apr 08 10:06:05 2015 -0700
+++ b/mercurial/manifest.py	Wed Apr 08 10:03:59 2015 -0700
@@ -206,7 +206,7 @@
         lm = self._lm
         for fn in files:
             if fn in lm:
-                ret._lm[fn] = self._lm[fn]
+                ret._lm[fn] = lm[fn]
         return ret
 
     def filesnotin(self, m2):