hgext/largefiles/lfutil.py
changeset 50137 302772099ac4
parent 50123 4e95341c89aa
child 50153 98890baf324e
equal deleted inserted replaced
50136:b38b53c5674e 50137:302772099ac4
   689         # Spend a bit of time here to get a list of files we know
   689         # Spend a bit of time here to get a list of files we know
   690         # are modified so we can compare only against those.
   690         # are modified so we can compare only against those.
   691         # It can cost a lot of time (several seconds)
   691         # It can cost a lot of time (several seconds)
   692         # otherwise to update all standins if the largefiles are
   692         # otherwise to update all standins if the largefiles are
   693         # large.
   693         # large.
   694         lfdirstate = openlfdirstate(ui, repo)
       
   695         dirtymatch = matchmod.always()
   694         dirtymatch = matchmod.always()
   696         unsure, s, mtime_boundary = lfdirstate.status(
   695         with repo.dirstate.running_status(repo):
   697             dirtymatch, subrepos=[], ignored=False, clean=False, unknown=False
   696             lfdirstate = openlfdirstate(ui, repo)
   698         )
   697             unsure, s, mtime_boundary = lfdirstate.status(
       
   698                 dirtymatch,
       
   699                 subrepos=[],
       
   700                 ignored=False,
       
   701                 clean=False,
       
   702                 unknown=False,
       
   703             )
   699         modifiedfiles = unsure + s.modified + s.added + s.removed
   704         modifiedfiles = unsure + s.modified + s.added + s.removed
   700         lfiles = listlfiles(repo)
   705         lfiles = listlfiles(repo)
   701         # this only loops through largefiles that exist (not
   706         # this only loops through largefiles that exist (not
   702         # removed/renamed)
   707         # removed/renamed)
   703         for lfile in lfiles:
   708         for lfile in lfiles: