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

login
register
mail settings
Submitter Jun Wu
Date April 7, 2017, 8:36 p.m.
Message ID <0613dc70b604ad9a2abb.1491597399@x1c>
Download mbox | patch
Permalink /patch/20013/
State Superseded
Headers show

Comments

Jun Wu - April 7, 2017, 8:36 p.m.
# HG changeset patch
# User Jun Wu <quark@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".

Patch

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