changeset 20929:afe0b48ef2d7

store: drop unused existing list
author Matt Mackall <mpm@selenic.com>
date Thu, 03 Apr 2014 12:59:12 -0500
parents 91b47139d0cb
children 4a987060d97e
files mercurial/store.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/store.py	Tue Apr 01 14:33:23 2014 -0700
+++ b/mercurial/store.py	Thu Apr 03 12:59:12 2014 -0500
@@ -485,12 +485,10 @@
         return self.rawvfs.stat(path).st_size
 
     def datafiles(self):
-        existing = []
         for f in sorted(self.fncache):
             ef = self.encode(f)
             try:
                 yield f, ef, self.getsize(ef)
-                existing.append(f)
             except OSError, err:
                 if err.errno != errno.ENOENT:
                     raise