D5313: test: explicitly disable sparse-revlog in test-http-bad-server.t

lothiraldan (Boris Feld) phabricator at mercurial-scm.org
Wed Nov 28 20:50:11 UTC 2018


lothiraldan created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  The `test-http-bad-server.t` test is very fragile with hard-coded number all
  around. Adding any new capability have massive consequences on it that are
  long and tiresome to handle. Since the test check more generic protocol level
  behavior, it does not need to follow all new capabilities. Disabling the
  capabilities is a much simpler way to avoid the issue.
  
  We make sure `sparse-revlog` will not impact this test once turned on by
  default.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5313

AFFECTED FILES
  tests/test-http-bad-server.t

CHANGE DETAILS

diff --git a/tests/test-http-bad-server.t b/tests/test-http-bad-server.t
--- a/tests/test-http-bad-server.t
+++ b/tests/test-http-bad-server.t
@@ -11,6 +11,8 @@
   $ cat >> $HGRCPATH << EOF
   > [extensions]
   > fakeversion = `pwd`/fakeversion.py
+  > [format]
+  > sparse-revlog = no
   > [devel]
   > legacy.exchange = phases
   > EOF



To: lothiraldan, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list