hgext/largefiles/reposetup.py
changeset 51699 ca7bde5dbafb
parent 51696 7f0cb9ee0534
child 51859 f4733654f144
equal deleted inserted replaced
51698:b0a4de6c14f8 51699:ca7bde5dbafb
   138                 gotlock = True
   138                 gotlock = True
   139             except error.LockError:
   139             except error.LockError:
   140                 wlock = util.nullcontextmanager()
   140                 wlock = util.nullcontextmanager()
   141                 gotlock = False
   141                 gotlock = False
   142             with wlock, self.dirstate.running_status(self):
   142             with wlock, self.dirstate.running_status(self):
   143 
       
   144                 # First check if paths or patterns were specified on the
   143                 # First check if paths or patterns were specified on the
   145                 # command line.  If there were, and they don't match any
   144                 # command line.  If there were, and they don't match any
   146                 # largefiles, we should just bail here and let super
   145                 # largefiles, we should just bail here and let super
   147                 # handle it -- thus gaining a big performance boost.
   146                 # handle it -- thus gaining a big performance boost.
   148                 lfdirstate = lfutil.openlfdirstate(ui, self)
   147                 lfdirstate = lfutil.openlfdirstate(ui, self)