test: enable generaldelta in 'test-copy.t'
authorPierre-Yves David <pierre-yves.david@fb.com>
Mon, 19 Oct 2015 10:48:02 +0200
changeset 28114 aa23e02f94150352b1d6a960b693d4c32d5c92f7
parent 28113 0438df737fb7027a3846cb2728170c31cb84234b
child 28115 4d1a96bb831fc90aa34be60500011ee8bc8db02f
push id53
push usergszorc@mozilla.com
push dateSat, 14 Nov 2015 00:02:55 +0000
test: enable generaldelta in 'test-copy.t' Doing so has a minimal impact on the test.
tests/test-copy.t
--- a/tests/test-copy.t
+++ b/tests/test-copy.t
@@ -1,8 +1,14 @@
+# enable bundle2 in advance
+
+  $ cat << EOF >> $HGRCPATH
+  > [format]
+  > usegeneraldelta=yes
+  > EOF
 
   $ mkdir part1
   $ cd part1
 
   $ hg init
   $ echo a > a
   $ hg add a
   $ hg commit -m "1"
@@ -82,17 +88,17 @@ this should show a revision linked to ch
 
 this should show the rename information in the metadata
 
   $ hg debugdata b 0 | head -3 | tail -2
   copy: a
   copyrev: b789fdd96dc2f3bd229c1dd8eedf0fc60e2b68e3
 
   $ md5sum.py .hg/store/data/b.i
-  4999f120a3b88713bbefddd195cf5133  .hg/store/data/b.i
+  44913824c8f5890ae218f9829535922e  .hg/store/data/b.i
   $ hg cat b > bsum
   $ md5sum.py bsum
   60b725f10c9c85c70d97880dfe8191b3  bsum
   $ hg cat a > asum
   $ md5sum.py asum
   60b725f10c9c85c70d97880dfe8191b3  asum
   $ hg verify
   checking changesets