[PATCH 1 of 4] tests: use strip extension instead of mq where it makes sense

Martin Geisler mg at lazybytes.net
Sat Nov 23 13:01:29 CST 2013


# HG changeset patch
# User Martin Geisler <martin at geisler.net>
# Date 1385136608 -3600
#      Fri Nov 22 17:10:08 2013 +0100
# Node ID c3a462a3f0d7bff2f1d4ade5c28b92bcfc2a3e6f
# Parent  1c46b18b0e1c47fa4cecf21b78c083a54ae9903f
tests: use strip extension instead of mq where it makes sense

When a test only uses 'hg strip', it no longer needs to load MQ.

diff --git a/tests/test-impexp-branch.t b/tests/test-impexp-branch.t
--- a/tests/test-impexp-branch.t
+++ b/tests/test-impexp-branch.t
@@ -1,5 +1,5 @@
   $ echo '[extensions]' >> $HGRCPATH
-  $ echo 'mq =' >> $HGRCPATH
+  $ echo 'strip =' >> $HGRCPATH
 
   $ cat >findbranch.py <<EOF
   > import re, sys
diff --git a/tests/test-lfconvert.t b/tests/test-lfconvert.t
--- a/tests/test-lfconvert.t
+++ b/tests/test-lfconvert.t
@@ -5,7 +5,7 @@
   > largefiles =
   > share =
   > graphlog =
-  > mq =
+  > strip =
   > convert =
   > [largefiles]
   > minsize = 0.5
diff --git a/tests/test-strip-cross.t b/tests/test-strip-cross.t
--- a/tests/test-strip-cross.t
+++ b/tests/test-strip-cross.t
@@ -1,7 +1,7 @@
 test stripping of filelogs where the linkrev doesn't always increase
 
   $ echo '[extensions]' >> $HGRCPATH
-  $ echo 'hgext.mq =' >> $HGRCPATH
+  $ echo 'hgext.strip =' >> $HGRCPATH
   $ hg init orig
   $ cd orig
   $ commit()


More information about the Mercurial-devel mailing list