Mercurial > hg
comparison tests/test-remotefilelog-bgprefetch.t @ 43854:612b4b63fb22 stable
remotefilelog: remove the `ensurestart` usage
The option does not seems to do what we want since it does not wait on the background
process actually starting (eg: taking the lock). And the race have been dealt
with another way anyway.
This effectively back out changeset 2c74337e6483.
Differential Revision: https://phab.mercurial-scm.org/D7590
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 09 Dec 2019 12:29:46 +0100 |
parents | 4f40dc190f63 |
children | ee0959e7d435 |
comparison
equal
deleted
inserted
replaced
43853:4f40dc190f63 | 43854:612b4b63fb22 |
---|---|
1 #require no-windows | 1 #require no-windows |
2 | 2 |
3 $ . "$TESTDIR/remotefilelog-library.sh" | 3 $ . "$TESTDIR/remotefilelog-library.sh" |
4 # devel.remotefilelog.ensurestart: reduce race condition with | |
5 # waiton{repack/prefetch} | |
6 $ cat >> $HGRCPATH <<EOF | 4 $ cat >> $HGRCPATH <<EOF |
7 > [devel] | 5 > [devel] |
8 > remotefilelog.ensurestart=True | |
9 > remotefilelog.bg-wait=True | 6 > remotefilelog.bg-wait=True |
10 > EOF | 7 > EOF |
11 | 8 |
12 $ hg init master | 9 $ hg init master |
13 $ cd master | 10 $ cd master |