hgext/largefiles/reposetup.py
changeset 18731 c2d079387b2c
parent 18644 3e92772d5383
parent 18726 431b246cfb12
child 18969 257afe5489d4
--- a/hgext/largefiles/reposetup.py	Sat Feb 23 22:54:57 2013 +0100
+++ b/hgext/largefiles/reposetup.py	Thu Feb 28 14:51:59 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)