equal
deleted
inserted
replaced
47 if incremental: |
47 if incremental: |
48 cmd.append('--incremental') |
48 cmd.append('--incremental') |
49 msg = _("(running background incremental repack)\n") |
49 msg = _("(running background incremental repack)\n") |
50 if packsonly: |
50 if packsonly: |
51 cmd.append('--packsonly') |
51 cmd.append('--packsonly') |
52 cmd = ' '.join(map(procutil.shellquote, cmd)) |
|
53 |
|
54 repo.ui.warn(msg) |
52 repo.ui.warn(msg) |
55 extutil.runshellcommand(cmd, encoding.environ) |
53 extutil.runbgcommand(cmd, encoding.environ) |
56 |
54 |
57 def fullrepack(repo, options=None): |
55 def fullrepack(repo, options=None): |
58 """If ``packsonly`` is True, stores creating only loose objects are skipped. |
56 """If ``packsonly`` is True, stores creating only loose objects are skipped. |
59 """ |
57 """ |
60 if util.safehasattr(repo, 'shareddatastores'): |
58 if util.safehasattr(repo, 'shareddatastores'): |