[PATCH 2 of 2 standalone-strip-short-version] strip: rename test-mq-strip into test-strip

pierre-yves.david at ens-lyon.org pierre-yves.david at ens-lyon.org
Thu Sep 26 17:04:05 CDT 2013


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
# Date 1380186699 -7200
#      Thu Sep 26 11:11:39 2013 +0200
# Node ID c0c66537d118c439535a1848580b49358c1c1309
# Parent  6fb90ba27626df7897bdc1e456deea078459d72e
strip: rename test-mq-strip into test-strip

And makes it use the strip extension only (except for the part testing mq
interaction)

diff --git a/tests/test-mq-strip.t b/tests/test-strip.t
rename from tests/test-mq-strip.t
rename to tests/test-strip.t
--- a/tests/test-mq-strip.t
+++ b/tests/test-strip.t
@@ -1,7 +1,7 @@
   $ echo "[extensions]" >> $HGRCPATH
-  $ echo "mq=" >> $HGRCPATH
+  $ echo "strip=" >> $HGRCPATH
   $ echo "graphlog=" >> $HGRCPATH
 
   $ restore() {
   >     hg unbundle -q .hg/strip-backup/*
   >     rm .hg/strip-backup/*
@@ -349,10 +349,11 @@ remove branchy history for qimport tests
   saved backup bundle to $TESTTMP/test/.hg/strip-backup/*-backup.hg (glob)
 
 
 strip of applied mq should cleanup status file
 
+  $ echo "mq=" >> $HGRCPATH
   $ hg up -C 3
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ echo fooagain >> bar
   $ hg ci -mf
   $ hg qimport -r tip:2


More information about the Mercurial-devel mailing list