##// END OF EJS Templates
remotefilelog: tell runbgcommand to not block on child process startup...
Augie Fackler -
r42697:df1419c5 default
parent child Browse files
Show More
@@ -43,7 +43,8 b' def backgroundrepack(repo, incremental=T'
43 if packsonly:
43 if packsonly:
44 cmd.append('--packsonly')
44 cmd.append('--packsonly')
45 repo.ui.warn(msg)
45 repo.ui.warn(msg)
46 procutil.runbgcommand(cmd, encoding.environ)
46 # We know this command will find a binary, so don't block on it starting.
47 procutil.runbgcommand(cmd, encoding.environ, ensurestart=False)
47
48
48 def fullrepack(repo, options=None):
49 def fullrepack(repo, options=None):
49 """If ``packsonly`` is True, stores creating only loose objects are skipped.
50 """If ``packsonly`` is True, stores creating only loose objects are skipped.
@@ -190,7 +190,9 b' def wraprepo(repo):'
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
General Comments 0
You need to be logged in to leave comments. Login now