Patchwork test-graft: use strip extension instead of mq extension

login
register
mail settings
Submitter Augie Fackler
Date Dec. 9, 2014, 7:46 p.m.
Message ID <85aa50cb351ed1064dc2.1418154361@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/7032/
State Accepted
Commit 3575f42e1b7b174f46f1c69951526d410452abf4
Headers show

Comments

Augie Fackler - Dec. 9, 2014, 7:46 p.m.
# HG changeset patch
# User Augie Fackler <raf@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.
Matt Mackall - Dec. 9, 2014, 7:52 p.m.
On Tue, 2014-12-09 at 14:46 -0500, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <raf@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

Queued for default, thanks.

Patch

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)