Mercurial > hg
comparison hgext/largefiles/lfutil.py @ 22919:1982bdb7e2cc
largefiles: access status fields by name rather than index
author | Martin von Zweigbergk <martinvonz@gmail.com> |
---|---|
date | Fri, 03 Oct 2014 22:10:08 -0700 |
parents | 3b8e6c095239 |
children | 1350b9170089 |
comparison
equal
deleted
inserted
replaced
22918:31f34a213384 | 22919:1982bdb7e2cc |
---|---|
135 return lfdirstate | 135 return lfdirstate |
136 | 136 |
137 def lfdirstatestatus(lfdirstate, repo, rev): | 137 def lfdirstatestatus(lfdirstate, repo, rev): |
138 match = match_.always(repo.root, repo.getcwd()) | 138 match = match_.always(repo.root, repo.getcwd()) |
139 unsure, s = lfdirstate.status(match, [], False, False, False) | 139 unsure, s = lfdirstate.status(match, [], False, False, False) |
140 modified, _added, _removed, _missing, _unknown, _ignored, clean = s | 140 modified, clean = s.modified, s.clean |
141 for lfile in unsure: | 141 for lfile in unsure: |
142 try: | 142 try: |
143 fctx = repo[rev][standin(lfile)] | 143 fctx = repo[rev][standin(lfile)] |
144 except LookupError: | 144 except LookupError: |
145 fctx = None | 145 fctx = None |