comparison hgext/largefiles/reposetup.py @ 34344:ac0cd81e2f83

dirstate: use keyword arguments to clarify status()'s callers The arguments are especially non-obvious because the order is different from dirstate.walk(). Differential Revision: https://phab.mercurial-scm.org/D847
author Martin von Zweigbergk <martinvonz@google.com>
date Fri, 29 Sep 2017 14:49:05 -0700
parents a40e979b9d97
children 61888bd0b300
comparison
equal deleted inserted replaced
34343:255c761a52db 34344:ac0cd81e2f83
160 160
161 match._files = [f for f in match._files 161 match._files = [f for f in match._files
162 if sfindirstate(f)] 162 if sfindirstate(f)]
163 # Don't waste time getting the ignored and unknown 163 # Don't waste time getting the ignored and unknown
164 # files from lfdirstate 164 # files from lfdirstate
165 unsure, s = lfdirstate.status(match, [], False, listclean, 165 unsure, s = lfdirstate.status(match, subrepos=[],
166 False) 166 ignored=False,
167 clean=listclean,
168 unknown=False)
167 (modified, added, removed, deleted, clean) = ( 169 (modified, added, removed, deleted, clean) = (
168 s.modified, s.added, s.removed, s.deleted, s.clean) 170 s.modified, s.added, s.removed, s.deleted, s.clean)
169 if parentworking: 171 if parentworking:
170 for lfile in unsure: 172 for lfile in unsure:
171 standin = lfutil.standin(lfile) 173 standin = lfutil.standin(lfile)