equal
deleted
inserted
replaced
41 cmd.append('--incremental') |
41 cmd.append('--incremental') |
42 msg = _("(running background incremental repack)\n") |
42 msg = _("(running background incremental repack)\n") |
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. |
50 """ |
51 """ |
51 if util.safehasattr(repo, 'shareddatastores'): |
52 if util.safehasattr(repo, 'shareddatastores'): |