[PATCH] test-graft: use strip extension instead of mq extension

Augie Fackler raf at durin42.com
Tue Dec 9 19:46:01 UTC 2014


# HG changeset patch
# User Augie Fackler <raf at durin42.com>
# Date 1418154312 18000
#      Tue Dec 09 14:45:12 2014 -0500
# Node ID 85aa50cb351ed1064dc2195dd3069e120d8e4697
# Parent  b46876c94a935f570ac915ff3d345583c42989bd
test-graft: use strip extension instead of mq extension

It only needs strip, no reason to load all of mq.

diff --git a/tests/test-graft.t b/tests/test-graft.t
--- a/tests/test-graft.t
+++ b/tests/test-graft.t
@@ -205,7 +205,7 @@ Abort the graft and try committing:
   $ echo c >> e
   $ hg ci -mtest
 
-  $ hg strip . --config extensions.mq=
+  $ hg strip . --config extensions.strip=
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
   saved backup bundle to $TESTTMP/a/.hg/strip-backup/*-backup.hg (glob)
 
@@ -705,7 +705,7 @@ but do some destructive editing of the r
 
   $ hg up -qC 7
   $ hg tag -l -r 13 tmp
-  $ hg --config extensions.mq= strip 2
+  $ hg --config extensions.strip= strip 2
   saved backup bundle to $TESTTMP/a/.hg/strip-backup/5c095ad7e90f-backup.hg (glob)
   $ hg graft tmp
   skipping already grafted revision 8 (2 also has unknown origin 5c095ad7e90f871700f02dd1fa5012cb4498a2d4)


More information about the Mercurial-devel mailing list