tests: test hg status --all with hgext/git
authorAnton Shestakov <av6@dwimlabs.net>
Sun, 08 Jan 2023 16:19:10 +0400
changeset 49977 3cbd0e919165
parent 49976 d2e80d27c524
child 49978 cd125eef4388
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.
tests/test-git-interop.t
--- 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