diff tests/test-prev-next.t @ 3546:d197e6f0d0e3

next: show changeset hash in `--dry-run` instead of rev numbers Rev numbers can change, hence we should show rev hash instead of rev numbers in dry-run.
author Pulkit Goyal <7895pulkit@gmail.com>
date Fri, 16 Mar 2018 11:31:13 +0530
parents 7c8150697810
children 78abffad8626
line wrap: on
line diff
--- a/tests/test-prev-next.t	Sun Mar 18 01:27:02 2018 +0530
+++ b/tests/test-prev-next.t	Fri Mar 16 11:31:13 2018 +0530
@@ -35,8 +35,8 @@
 
 hg next -B should move active bookmark
   $ hg next -B --dry-run
-  hg update 1;
-  hg bookmark mark -r 1;
+  hg update 6e742c9127b3;
+  hg bookmark mark -r 6e742c9127b3;
   [1] added b
   $ hg next -B
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved
@@ -60,7 +60,7 @@
      mark                      1:6e742c9127b3
    * mark2                     0:a154386e50d1
   $ hg next --dry-run --color=debug
-  hg update 1;
+  hg update 6e742c9127b3;
   [[evolve.rev|1]] added b
   $ hg next
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved