Mercurial > hg
changeset 22123:7740db54bf73
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.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Wed, 25 Jun 2014 15:59:21 +0100 |
parents | fd172ba5c64b |
children | e51784473fc0 |
files | tests/test-revert.t |
diffstat | 1 files changed, 0 insertions(+), 31 deletions(-) [+] |
line wrap: on
line diff
--- 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