tests/test-status.t
branchstable
changeset 38762 fe3ca1e6f786
parent 38546 85e3aa21bcdc
child 39397 46f3ff64bea7
equal deleted inserted replaced
38761:d558e53cd6b6 38762:fe3ca1e6f786
   107   ? a/in_a
   107   ? a/in_a
   108   ? b/in_b
   108   ? b/in_b
   109 
   109 
   110 tweaking defaults works
   110 tweaking defaults works
   111   $ hg status --cwd a --config ui.tweakdefaults=yes
   111   $ hg status --cwd a --config ui.tweakdefaults=yes
   112   ? .
   112   ? 1/in_a_1
   113   ? ../b/
   113   ? in_a
       
   114   ? ../b/1/in_b_1
       
   115   ? ../b/2/in_b_2
       
   116   ? ../b/in_b
   114   ? ../in_root
   117   ? ../in_root
   115   $ HGPLAIN=1 hg status --cwd a --config ui.tweakdefaults=yes
   118   $ HGPLAIN=1 hg status --cwd a --config ui.tweakdefaults=yes
   116   ? a/1/in_a_1 (glob)
   119   ? a/1/in_a_1 (glob)
   117   ? a/in_a (glob)
   120   ? a/in_a (glob)
   118   ? b/1/in_b_1 (glob)
   121   ? b/1/in_b_1 (glob)
   119   ? b/2/in_b_2 (glob)
   122   ? b/2/in_b_2 (glob)
   120   ? b/in_b (glob)
   123   ? b/in_b (glob)
   121   ? in_root
   124   ? in_root
   122   $ HGPLAINEXCEPT=tweakdefaults hg status --cwd a --config ui.tweakdefaults=yes
   125   $ HGPLAINEXCEPT=tweakdefaults hg status --cwd a --config ui.tweakdefaults=yes
   123   ? .
   126   ? 1/in_a_1
   124   ? ../b/
   127   ? in_a
       
   128   ? ../b/1/in_b_1
       
   129   ? ../b/2/in_b_2
       
   130   ? ../b/in_b
   125   ? ../in_root (glob)
   131   ? ../in_root (glob)
   126 
   132 
   127 relative paths can be requested
   133 relative paths can be requested
   128 
   134 
   129   $ cat >> $HGRCPATH <<EOF
   135   $ cat >> $HGRCPATH <<EOF
   149   $ cat >> $HGRCPATH <<EOF
   155   $ cat >> $HGRCPATH <<EOF
   150   > [commands]
   156   > [commands]
   151   > status.relative = False
   157   > status.relative = False
   152   > EOF
   158   > EOF
   153   $ hg status --cwd a --config ui.tweakdefaults=yes
   159   $ hg status --cwd a --config ui.tweakdefaults=yes
   154   ? a/
   160   ? a/1/in_a_1
   155   ? b/
   161   ? a/in_a
       
   162   ? b/1/in_b_1
       
   163   ? b/2/in_b_2
       
   164   ? b/in_b
   156   ? in_root
   165   ? in_root
   157 
   166 
   158   $ cd ..
   167   $ cd ..
   159 
   168 
   160   $ hg init repo2
   169   $ hg init repo2