diff tests/test-status.t @ 50427:98fc949bec14

rhg: support `status --print0` This seems very easy to support, and useful because it makes it possible to parse the [hg status] output even if the user creates files with '\n' characters by accident.
author Arseniy Alekseyev <aalekseyev@janestreet.com>
date Thu, 06 Apr 2023 11:41:51 +0100
parents adecb1ab4a0d
children f57f5ab0e220
line wrap: on
line diff
--- a/tests/test-status.t	Thu Mar 30 22:22:44 2023 +0200
+++ b/tests/test-status.t	Thu Apr 06 11:41:51 2023 +0100
@@ -246,6 +246,11 @@
   ! deleted
   ? unknown
 
+hg status -0:
+
+  $ hg status -0 --config rhg.on-unsupported=abort
+  A added\x00A copied\x00R removed\x00! deleted\x00? unknown\x00 (no-eol) (esc)
+
 hg status -A:
 
   $ hg status -A