changeset 49977:3cbd0e919165

tests: test hg status --all with hgext/git There's a TODO item in git/dirstate.py about obtaining clean files in a more straightforward way, let's first test that status can and does show clean files at all.
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 08 Jan 2023 16:19:10 +0400
parents d2e80d27c524
children cd125eef4388
files tests/test-git-interop.t
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-git-interop.t	Fri Jan 06 17:51:55 2023 +0400
+++ b/tests/test-git-interop.t	Sun Jan 08 16:19:10 2023 +0400
@@ -142,6 +142,12 @@
    alpha
   +blah
 
+status --all shows all files, including clean:
+  $ hg status --all
+  M alpha
+  ? gamma
+  C beta
+
 Remove a file, it shows as such:
   $ rm alpha
   $ hg status