Patchwork [1,of,4] manifestdict.matches: avoid name 'lm' for a not-lazymanifest

login
register
mail settings
Submitter Martin von Zweigbergk
Date April 8, 2015, 7:58 p.m.
Message ID <a9025c400317d9cb93f0.1428523082@martinvonz.mtv.corp.google.com>
Download mbox | patch
Permalink /patch/8563/
State Accepted
Headers show

Comments

Martin von Zweigbergk - April 8, 2015, 7:58 p.m.
# HG changeset patch
# User Martin von Zweigbergk <martinvonz@google.com>
# Date 1428512765 25200
#      Wed Apr 08 10:06:05 2015 -0700
# Node ID a9025c400317d9cb93f0afa58ff3e4679812ec27
# Parent  67241ee427cfb457d7728e44fc772572c1555c2e
manifestdict.matches: avoid name 'lm' for a not-lazymanifest

Patch

diff -r 67241ee427cf -r a9025c400317 mercurial/manifest.py
--- a/mercurial/manifest.py	Tue Apr 07 20:43:04 2015 -0700
+++ b/mercurial/manifest.py	Wed Apr 08 10:06:05 2015 -0700
@@ -267,9 +267,9 @@ 
             (not match.anypats() and util.all(fn in self for fn in files)))):
             return self._intersectfiles(files)
 
-        lm = manifestdict('')
-        lm._lm = self._lm.filtercopy(match)
-        return lm
+        m = manifestdict('')
+        m._lm = self._lm.filtercopy(match)
+        return m
 
     def diff(self, m2, clean=False):
         '''Finds changes between the current manifest and m2.