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

login
register
mail settings
Submitter Martin Geisler
Date Nov. 23, 2013, 7:01 p.m.
Message ID <c3a462a3f0d7bff2f1d4.1385233289@hbox.dyndns.org>
Download mbox | patch
Permalink /patch/3102/
State Accepted
Commit db6b958c4f35e27ed4252699158cd1aea6221db2
Headers show

Comments

Martin Geisler - Nov. 23, 2013, 7:01 p.m.
# HG changeset patch
# User Martin Geisler <martin@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.

Patch

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()