diff tests/test-evolve-issue5881.t @ 4348:398c33b17d76

evolve: make sure we don't stop after evolution of obsparent (issue5881) Before this patch, we were not handling the case when revset given by user also contain wdir parent which is obsolete. We were explicitly checking if wdir parent is obsolete, then update to its successor and return; without checking if we still have some revisions to be evolved. This patch make sure that after it update to the successor of obsolete parent it doesn't stop and continue to evolve other remaining revisions. Changes in tests/test-evolve-issue5881.t reflect the fixed behaviour.
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Fri, 18 Jan 2019 23:09:44 +0530
parents ff483949674e
children a2fdbece7ce1 bcd52ce0916d
line wrap: on
line diff
--- a/tests/test-evolve-issue5881.t	Fri Jan 18 23:08:43 2019 +0530
+++ b/tests/test-evolve-issue5881.t	Fri Jan 18 23:09:44 2019 +0530
@@ -44,9 +44,10 @@
       () draft
 
 Test `hg evolve` evolve all the revisions specified by user:
-(XXX:it stops after updating to its successor and don't evolve next revision,
-it will fixed in next patch)
   $ hg evolve -r .::
   update:[3] updated b
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   working directory is now at e6048a693c0d
+  move:[2] added c
+  atop:[3] updated b
+  working directory is now at c3a628eb9aaf