[PATCH 1 of 2] test-flagprocessor: add a case about hg status

Jun Wu quark at fb.com
Fri Apr 7 20:36:39 UTC 2017


# HG changeset patch
# User Jun Wu <quark at fb.com>
# Date 1491587813 25200
#      Fri Apr 07 10:56:53 2017 -0700
# Node ID 0613dc70b604ad9a2abb548e223981defe753c7f
# Parent  c39e7c4b535c654d5b2f7790efebff2909986a04
# Available At https://bitbucket.org/quark-zju/hg-draft
#              hg pull https://bitbucket.org/quark-zju/hg-draft -r 0613dc70b604
test-flagprocessor: add a case about hg status

This shows how "hg status" is wrong - nothing changed but the file is
labeled as "M".

diff --git a/tests/test-flagprocessor.t b/tests/test-flagprocessor.t
--- a/tests/test-flagprocessor.t
+++ b/tests/test-flagprocessor.t
@@ -240,2 +240,9 @@
    1 files changed, 1 insertions(+), 0 deletions(-)
   
+  $ rm bundle.hg bundle-again.hg
+
+# TEST: hg status
+
+  $ hg status
+  M base64
+  $ hg diff


More information about the Mercurial-devel mailing list