hgext/remotefilelog/shallowrepo.py
changeset 42497 df1419c5756a
parent 42495 373aeede7352
child 42620 d98ec36be808
equal deleted inserted replaced
42496:ca1014ad3de4 42497:df1419c5756a
   188             cmd = [procutil.hgexecutable(), '-R', repo.origroot, 'prefetch']
   188             cmd = [procutil.hgexecutable(), '-R', repo.origroot, 'prefetch']
   189             if repack:
   189             if repack:
   190                 cmd.append('--repack')
   190                 cmd.append('--repack')
   191             if revs:
   191             if revs:
   192                 cmd += ['-r', revs]
   192                 cmd += ['-r', revs]
   193             procutil.runbgcommand(cmd, encoding.environ)
   193             # We know this command will find a binary, so don't block
       
   194             # on it starting.
       
   195             procutil.runbgcommand(cmd, encoding.environ, ensurestart=False)
   194 
   196 
   195         def prefetch(self, revs, base=None, pats=None, opts=None):
   197         def prefetch(self, revs, base=None, pats=None, opts=None):
   196             """Prefetches all the necessary file revisions for the given revs
   198             """Prefetches all the necessary file revisions for the given revs
   197             Optionally runs repack in background
   199             Optionally runs repack in background
   198             """
   200             """