changeset 52484:4a28631f130c

rhg: add tests for rhg status without fallback This is a follow up to !1126 to add another test.
author Mitchell Kember <mkember@janestreet.com>
date Fri, 06 Dec 2024 10:29:48 -0500
parents 7e5ed1e80913
children 57a4adbef74d
files tests/test-rhg.t
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-rhg.t	Mon Dec 09 10:00:02 2024 +0100
+++ b/tests/test-rhg.t	Fri Dec 06 10:29:48 2024 -0500
@@ -92,6 +92,18 @@
   $ $NO_FALLBACK rhg files | head -n 1
   ../../../file1
 
+Status with --rev and --changes
+  $ cd $TESTTMP/repository
+  $ $NO_FALLBACK rhg status --change null
+  $ $NO_FALLBACK rhg status --change 0
+  A file1
+  A file2
+  A file3
+  $ $NO_FALLBACK rhg status --rev null --rev 0
+  A file1
+  A file2
+  A file3
+
 Debuging data in inline index
   $ cd $TESTTMP
   $ rm -rf repository