##// END OF EJS Templates
use context for part of localrepo status
Matt Mackall -
r4910:fd96bc61 default
parent child Browse files
Show More
@@ -887,11 +887,9 b' class localrepository(repo.repository):'
887 if compareworking:
887 if compareworking:
888 if lookup:
888 if lookup:
889 # do a full compare of any files that might have changed
889 # do a full compare of any files that might have changed
890 mnode = self.changelog.read(self.dirstate.parents()[0])[0]
890 ctx = self.changectx()
891 getnode = lambda fn: (self.manifest.find(mnode, fn)[0] or
892 nullid)
893 for f in lookup:
891 for f in lookup:
894 if fcmp(f, getnode):
892 if f not in ctx or ctx[f].cmp(self.wread(f)):
895 modified.append(f)
893 modified.append(f)
896 else:
894 else:
897 if list_clean:
895 if list_clean:
General Comments 0
You need to be logged in to leave comments. Login now