equal
deleted
inserted
replaced
104 combining patterns with root and patterns without a root works |
104 combining patterns with root and patterns without a root works |
105 |
105 |
106 $ hg st a/in_a re:.*b$ |
106 $ hg st a/in_a re:.*b$ |
107 ? a/in_a |
107 ? a/in_a |
108 ? b/in_b |
108 ? b/in_b |
|
109 |
|
110 tweaking defaults works |
|
111 $ hg status --cwd a --config ui.tweakdefaults=yes |
|
112 ? 1/in_a_1 |
|
113 ? in_a |
|
114 ? ../b/1/in_b_1 |
|
115 ? ../b/2/in_b_2 |
|
116 ? ../b/in_b |
|
117 ? ../in_root |
|
118 $ HGPLAIN=1 hg status --cwd a --config ui.tweakdefaults=yes |
|
119 ? a/1/in_a_1 (glob) |
|
120 ? a/in_a (glob) |
|
121 ? b/1/in_b_1 (glob) |
|
122 ? b/2/in_b_2 (glob) |
|
123 ? b/in_b (glob) |
|
124 ? in_root |
|
125 $ HGPLAINEXCEPT=tweakdefaults hg status --cwd a --config ui.tweakdefaults=yes |
|
126 ? 1/in_a_1 |
|
127 ? in_a |
|
128 ? ../b/1/in_b_1 |
|
129 ? ../b/2/in_b_2 |
|
130 ? ../b/in_b |
|
131 ? ../in_root |
109 |
132 |
110 relative paths can be requested |
133 relative paths can be requested |
111 |
134 |
112 $ cat >> $HGRCPATH <<EOF |
135 $ cat >> $HGRCPATH <<EOF |
113 > [commands] |
136 > [commands] |
126 ? b/1/in_b_1 (glob) |
149 ? b/1/in_b_1 (glob) |
127 ? b/2/in_b_2 (glob) |
150 ? b/2/in_b_2 (glob) |
128 ? b/in_b (glob) |
151 ? b/in_b (glob) |
129 ? in_root |
152 ? in_root |
130 |
153 |
|
154 if relative paths are explicitly off, tweakdefaults doesn't change it |
|
155 $ cat >> $HGRCPATH <<EOF |
|
156 > [commands] |
|
157 > status.relative = False |
|
158 > EOF |
|
159 $ hg status --cwd a --config ui.tweakdefaults=yes |
|
160 ? a/1/in_a_1 (glob) |
|
161 ? a/in_a (glob) |
|
162 ? b/1/in_b_1 (glob) |
|
163 ? b/2/in_b_2 (glob) |
|
164 ? b/in_b (glob) |
|
165 ? in_root |
|
166 |
131 $ cd .. |
167 $ cd .. |
132 |
168 |
133 $ hg init repo2 |
169 $ hg init repo2 |
134 $ cd repo2 |
170 $ cd repo2 |
135 $ touch modified removed deleted ignored |
171 $ touch modified removed deleted ignored |