tests/test-pick.t
branchmercurial-4.7
changeset 4971 9f69164cdc16
parent 4866 2a500c5e293b
parent 4968 d299af4da8d8
child 5367 cb5983c0287f
--- a/tests/test-pick.t	Sat Oct 05 13:50:09 2019 -0400
+++ b/tests/test-pick.t	Thu Nov 28 10:53:25 2019 +0100
@@ -25,7 +25,7 @@
   $ hg init repo
   $ cd repo
   $ hg help pick
-  hg pick [-r] rev
+  hg pick [OPTION]... [-r] REV
   
   aliases: grab
   
@@ -167,6 +167,17 @@
   |
   o  0:1f0dee641bb7 add a
   
+
+there were no changes to commit, so there shouldn't be any predecessors of 6,
+and 2 should say it was pruned (issue6093)
+
+  $ hg olog --all --hidden -r 2+6
+  x  4538525df7e2 (2) add c
+       pruned using pick by test (Thu Jan 01 00:00:00 1970 +0000)
+  
+  @  c4636a81ebeb (6) add c
+  
+
 interrupted pick
 
   $ hg up d46dc301d92f