comparison hgext/largefiles/reposetup.py @ 18731:c2d079387b2c

merge with stable
author Mads Kiilerich <madski@unity3d.com>
date Thu, 28 Feb 2013 14:51:59 +0100
parents 3e92772d5383 431b246cfb12
children 257afe5489d4
comparison
equal deleted inserted replaced
18720:0ade08dcb3c3 18731:c2d079387b2c
297 # otherwise to update all standins if the largefiles are 297 # otherwise to update all standins if the largefiles are
298 # large. 298 # large.
299 lfdirstate = lfutil.openlfdirstate(ui, self) 299 lfdirstate = lfutil.openlfdirstate(ui, self)
300 dirtymatch = match_.always(self.root, self.getcwd()) 300 dirtymatch = match_.always(self.root, self.getcwd())
301 s = lfdirstate.status(dirtymatch, [], False, False, False) 301 s = lfdirstate.status(dirtymatch, [], False, False, False)
302 modifiedfiles = [] 302 (unsure, modified, added, removed, _missing, _unknown,
303 for i in s: 303 _ignored, _clean) = s
304 modifiedfiles.extend(i) 304 modifiedfiles = unsure + modified + added + removed
305 lfiles = lfutil.listlfiles(self) 305 lfiles = lfutil.listlfiles(self)
306 # this only loops through largefiles that exist (not 306 # this only loops through largefiles that exist (not
307 # removed/renamed) 307 # removed/renamed)
308 for lfile in lfiles: 308 for lfile in lfiles:
309 if lfile in modifiedfiles: 309 if lfile in modifiedfiles: