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

Jun Wu quark at fb.com
Sun Apr 9 16:14:19 EDT 2017


# HG changeset patch
# User Jun Wu <quark at fb.com>
# Date 1491587813 25200
#      Fri Apr 07 10:56:53 2017 -0700
# Node ID 01c8cf2cb588eea28df5f09853c702d380b631a9
# Parent  9259cf823690e4fcd34a4d2ecd57ced2060d2b3d
# Available At https://bitbucket.org/quark-zju/hg-draft
#              hg pull https://bitbucket.org/quark-zju/hg-draft -r 01c8cf2cb588
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