diff tests/test-status.t @ 23037:eeaed3d2b004

status: add more complete tests for --rev The 'status --rev' code is not very well tested, which has bitten us as recently as in issue4321. Let's add some more tests, some of which uncover bugs. Remove the few existing tests that are now covered in a more thorough and consistent way.
author Martin von Zweigbergk <martinvonz@gmail.com>
date Sun, 12 Oct 2014 22:23:43 -0700
parents 968247e8f4ac
children 2963d5c9d90b
line wrap: on
line diff
--- a/tests/test-status.t	Sat Oct 18 12:24:50 2014 +0900
+++ b/tests/test-status.t	Sun Oct 12 22:23:43 2014 -0700
@@ -322,19 +322,6 @@
   R removed
   C deleted
 
-status against non-parent with unknown file (issue4321)
-
-  $ touch unknown
-  $ hg status --rev 0 unknown
-  ? unknown
-
-status of removed but existing in working directory.  "? removed" should
-not be included:
-
-  $ touch removed
-  $ hg status --rev 0 removed
-  R removed
-
   $ cd ..
 
 hg status of binary file starting with '\1\n', a separator for metadata: