# HG changeset patch # User Pierre-Yves David # Date 1403708361 -3600 # Node ID 7740db54bf73293d71304c931c55255b432767de # Parent fd172ba5c64b32801e0ffae6bea8e769431a7ecf test-revert: drop useless comments There are multiple comments explaining the expected output of commands. This is an old relic of the pre-unified test era. We remove them for uselessness. diff -r fd172ba5c64b -r 7740db54bf73 tests/test-revert.t --- a/tests/test-revert.t Tue Aug 12 04:50:58 2014 -0500 +++ b/tests/test-revert.t Wed Jun 25 15:59:21 2014 +0100 @@ -19,28 +19,20 @@ $ echo 123 > b -should show b unknown - $ hg status ? b $ echo 12 > c -should show b unknown and c modified - $ hg status M c ? b $ hg add b -should show b added and c modified - $ hg status M c A b $ hg rm a -should show a removed, b added and c modified - $ hg status M c A b @@ -49,9 +41,6 @@ revert removal of a file $ hg revert a - -should show b added, copy saved, and c modified - $ hg status M c A b @@ -59,9 +48,6 @@ revert addition of a file $ hg revert b - -should show b unknown, and c modified - $ hg status M c ? b @@ -69,9 +55,6 @@ revert modification of a file (--no-backup) $ hg revert --no-backup c - -should show unknown: b - $ hg status ? b @@ -80,26 +63,16 @@ $ hg add b -should show b added - $ hg status b A b $ rm b - -should show b deleted - $ hg status b ! b $ hg revert -v b forgetting b - -should not find b - $ hg status b b: * (glob) -should show a c e - $ ls a c @@ -187,8 +160,6 @@ $ hg revert --all reverting c -should print non-executable - $ test -x c || echo non-executable non-executable @@ -199,8 +170,6 @@ $ hg revert --all reverting c -should print executable - $ test -x c && echo executable executable #endif