##// END OF EJS Templates
localrepo.status: use manifest.find on "lookup" files
Alexis S. L. Carvalho -
r4161:939de0d2 default
parent child Browse files
Show More
@@ -921,8 +921,9 b' class localrepository(repo.repository):'
921 if compareworking:
921 if compareworking:
922 if lookup:
922 if lookup:
923 # do a full compare of any files that might have changed
923 # do a full compare of any files that might have changed
924 mf2 = mfmatches(self.dirstate.parents()[0])
924 mnode = self.changelog.read(self.dirstate.parents()[0])[0]
925 getnode = lambda fn: mf2.get(fn, nullid)
925 getnode = lambda fn: (self.manifest.find(mnode, fn)[0] or
926 nullid)
926 for f in lookup:
927 for f in lookup:
927 if fcmp(f, getnode):
928 if fcmp(f, getnode):
928 modified.append(f)
929 modified.append(f)
General Comments 0
You need to be logged in to leave comments. Login now