hgext/largefiles/reposetup.py
branchstable
changeset 18726 431b246cfb12
parent 18182 e6db64abfa87
child 18731 c2d079387b2c
--- a/hgext/largefiles/reposetup.py	Thu Feb 28 13:45:18 2013 +0100
+++ b/hgext/largefiles/reposetup.py	Thu Feb 28 13:45:18 2013 +0100
@@ -299,9 +299,9 @@
                     lfdirstate = lfutil.openlfdirstate(ui, self)
                     dirtymatch = match_.always(self.root, self.getcwd())
                     s = lfdirstate.status(dirtymatch, [], False, False, False)
-                    modifiedfiles = []
-                    for i in s:
-                        modifiedfiles.extend(i)
+                    (unsure, modified, added, removed, _missing, _unknown,
+                            _ignored, _clean) = s
+                    modifiedfiles = unsure + modified + added + removed
                     lfiles = lfutil.listlfiles(self)
                     # this only loops through largefiles that exist (not
                     # removed/renamed)