diff tests/test-largefiles-misc.t @ 39405:cb70501d8b71

revert: fix the inconsistency of status msgs in --interactive mode Before this patch we were priting every action msg before actually performing that action and that was resulting in inconsistencies; like in --interactive session if user decided to not revert any changes in a file foo, still there will be a msg on console saying "reverting foo". To fix this, I have made some changes to print status msg just before the action it is going to perform, no matter if --interactive or not. Changes made in test-revert-interactive.t reflect the changed behavior. There are also some changes in test-revert.t because of change in the order of messages. Differential Revision: https://phab.mercurial-scm.org/D4380
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Fri, 31 Aug 2018 23:28:09 +0530
parents 556984ae0005
children 89630d0b3e23
line wrap: on
line diff
--- a/tests/test-largefiles-misc.t	Mon Sep 03 10:44:52 2018 +0530
+++ b/tests/test-largefiles-misc.t	Fri Aug 31 23:28:09 2018 +0530
@@ -1135,8 +1135,8 @@
   ? large.orig
 
   $ hg revert --all
+  forgetting .hglf/dir/subdir2/large.bin
   undeleting .hglf/dir/subdir/large.bin
-  forgetting .hglf/dir/subdir2/large.bin
   reverting subrepo no-largefiles
 
   $ hg status -C
@@ -1214,8 +1214,8 @@
   large
 
   $ hg revert --all
+  forgetting .hglf/dir2/subdir/large.bin
   undeleting .hglf/dir/subdir/large.bin
-  forgetting .hglf/dir2/subdir/large.bin
   reverting subrepo no-largefiles
 
   $ hg status -C