Mercurial > public > mercurial-scm > hg-stable
diff 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 |
line wrap: on
line diff
--- a/hgext/largefiles/lfutil.py Fri Oct 03 10:05:54 2014 -0700 +++ b/hgext/largefiles/lfutil.py Fri Oct 03 22:10:08 2014 -0700 @@ -137,7 +137,7 @@ def lfdirstatestatus(lfdirstate, repo, rev): match = match_.always(repo.root, repo.getcwd()) unsure, s = lfdirstate.status(match, [], False, False, False) - modified, _added, _removed, _missing, _unknown, _ignored, clean = s + modified, clean = s.modified, s.clean for lfile in unsure: try: fctx = repo[rev][standin(lfile)]