equal
deleted
inserted
replaced
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 """ |