Mercurial > hg
diff 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 |
line wrap: on
line diff
--- a/hgext/largefiles/reposetup.py Fri Sep 29 14:19:36 2017 -0700 +++ b/hgext/largefiles/reposetup.py Fri Sep 29 14:49:05 2017 -0700 @@ -162,8 +162,10 @@ if sfindirstate(f)] # Don't waste time getting the ignored and unknown # files from lfdirstate - unsure, s = lfdirstate.status(match, [], False, listclean, - False) + unsure, s = lfdirstate.status(match, subrepos=[], + ignored=False, + clean=listclean, + unknown=False) (modified, added, removed, deleted, clean) = ( s.modified, s.added, s.removed, s.deleted, s.clean) if parentworking: