mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
remotefilelog: honor --quiet for background repack
Summary: We would always print that a background repack is started, regardless of whether --quiet was being passed in. Reviewed By: quark-zju Differential Revision: D17677229 fbshipit-source-id: 4e7d2fa355f11fdeea0e4cb59f78bc8f0c56b242
This commit is contained in:
parent
c6a432e186
commit
a6c6909237
@ -72,7 +72,7 @@ def backgroundrepack(repo, incremental=True, packsonly=False, looseonly=False):
|
||||
|
||||
cmd = " ".join(map(util.shellquote, cmd))
|
||||
|
||||
repo.ui.warn(msg)
|
||||
repo.ui.status(msg)
|
||||
runshellcommand(cmd, encoding.environ)
|
||||
|
||||
|
||||
|
@ -294,7 +294,6 @@
|
||||
$ hg commit -m 'move z -> z2'
|
||||
$ cd ../packprefetch
|
||||
$ hg pull -q
|
||||
(running background incremental repack)
|
||||
$ hg prefetch -r tip
|
||||
1 files fetched over 1 fetches - (1 misses, 0.00% hit ratio) over * (glob)
|
||||
$ hg up tip -q
|
||||
|
@ -74,7 +74,6 @@
|
||||
$TESTTMP/hgcache/repos
|
||||
|
||||
$ hg pull -q --config remotefilelog.backgroundrepack=True --config remotefilelog.packsonlyrepack=True
|
||||
(running background incremental repack)
|
||||
$ sleep 0.5
|
||||
$ hg debugwaitonprefetch >/dev/null 2>%1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user