diff tests/test-update-branches.t @ 32698:1b5c61d38a52

update: show the commit to which we updated in case of multiple heads (BC) Currently when we have multiple heads on the same branch, update tells us that there some more heads for the current branch but does not tells us the head to which the repository has been updated to. It makes more sense showing the head we updated to and then telling there are some more heads.
author Pulkit Goyal <7895pulkit@gmail.com>
date Tue, 06 Jun 2017 22:17:39 +0530
parents 7433b3bc55ee
children 6d88468d435b
line wrap: on
line diff
--- a/tests/test-update-branches.t	Fri May 19 20:29:11 2017 -0700
+++ b/tests/test-update-branches.t	Tue Jun 06 22:17:39 2017 +0530
@@ -94,6 +94,7 @@
 
   $ norevtest 'none clean same'   clean 2
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  updated to "bd10386d478c: 2"
   1 other heads for branch "default"
   parent=2
 
@@ -141,6 +142,7 @@
 
   $ norevtest 'none dirty cross'  dirty 2
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  updated to "bd10386d478c: 2"
   1 other heads for branch "default"
   parent=2
   M foo
@@ -177,6 +179,7 @@
 
   $ norevtest '-c clean same'   clean 2 -c
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  updated to "bd10386d478c: 2"
   1 other heads for branch "default"
   parent=2