tests/test-topic-dest.t
changeset 1911 442a7cb8404e
parent 1902 93cf0ddb5234
child 1915 cb651dbd0965
--- a/tests/test-topic-dest.t	Thu Mar 17 09:13:12 2016 -0700
+++ b/tests/test-topic-dest.t	Thu Mar 17 09:14:57 2016 -0700
@@ -5,6 +5,7 @@
   $ cat <<EOF >> .hg/hgrc
   > [extensions]
   > rebase=
+  > histedit=
   > [phases]
   > publish=false
   > EOF
@@ -479,3 +480,17 @@
   |
   o  0 () c_alpha
   
+
+Default destination for histedit
+================================
+
+By default hisetdit should edit with the current topic only
+(even when based on other draft
+
+  $ hg phase 'desc(c_zeta)'
+  11: draft
+  $ HGEDITOR=cat hg histedit | grep pick
+  pick e44744d9ad73 12 babar
+  pick 38eea8439aee 14 arthur
+  pick 411315c48bdc 15 pompadour
+  #  p, pick = use commit