equal
deleted
inserted
replaced
919 |
919 |
920 # are we comparing working dir against its parent? |
920 # are we comparing working dir against its parent? |
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) |
929 else: |
930 else: |
930 clean.append(f) |
931 clean.append(f) |