tests/test-histedit-arguments.t
changeset 24009 00d331763442
parent 22369 897041f6b025
child 24764 4dcd55802237
--- a/tests/test-histedit-arguments.t	Sun Feb 01 14:05:15 2015 -0500
+++ b/tests/test-histedit-arguments.t	Mon Feb 02 16:19:35 2015 -0800
@@ -103,6 +103,15 @@
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ hg up --quiet
 
+Test config specified default
+-----------------------------
+
+  $ HGEDITOR=cat hg histedit --config "histedit.defaultrev=only(.) - ::eb57da33312f" --commands - << EOF
+  > pick c8e68270e35a 3 four
+  > pick 08d98a8350f3 4 five
+  > EOF
+  0 files updated, 0 files merged, 0 files removed, 0 files unresolved
+
 Run on a revision not descendants of the initial parent
 --------------------------------------------------------------------