equal
deleted
inserted
replaced
163 lfile = splitstandin(standin) |
163 lfile = splitstandin(standin) |
164 lfdirstate.normallookup(lfile) |
164 lfdirstate.normallookup(lfile) |
165 return lfdirstate |
165 return lfdirstate |
166 |
166 |
167 def lfdirstatestatus(lfdirstate, repo): |
167 def lfdirstatestatus(lfdirstate, repo): |
168 wctx = repo['.'] |
168 pctx = repo['.'] |
169 match = matchmod.always(repo.root, repo.getcwd()) |
169 match = matchmod.always(repo.root, repo.getcwd()) |
170 unsure, s = lfdirstate.status(match, [], False, False, False) |
170 unsure, s = lfdirstate.status(match, [], False, False, False) |
171 modified, clean = s.modified, s.clean |
171 modified, clean = s.modified, s.clean |
172 for lfile in unsure: |
172 for lfile in unsure: |
173 try: |
173 try: |
174 fctx = wctx[standin(lfile)] |
174 fctx = pctx[standin(lfile)] |
175 except LookupError: |
175 except LookupError: |
176 fctx = None |
176 fctx = None |
177 if not fctx or fctx.data().strip() != hashfile(repo.wjoin(lfile)): |
177 if not fctx or fctx.data().strip() != hashfile(repo.wjoin(lfile)): |
178 modified.append(lfile) |
178 modified.append(lfile) |
179 else: |
179 else: |