Mercurial > hg
comparison tests/test-encoding.t @ 22429:7a7eed5176a4
commands: add hidden -T option for files/manifest/status/tags
These commands have generic formatting support but no way to enable it
yet. When this feature is more fully developed, this flag will be unhidden.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 15 Sep 2014 13:15:07 -0500 |
parents | 5e276d1d504a |
children | 67b6b82a6bbe |
comparison
equal
deleted
inserted
replaced
22428:427e80a18ef8 | 22429:7a7eed5176a4 |
---|---|
177 | 177 |
178 $ HGENCODING=utf-8 hg tags | 178 $ HGENCODING=utf-8 hg tags |
179 tip 5:a52c0692f24a | 179 tip 5:a52c0692f24a |
180 \xc3\xa9 3:ca661e7520de (esc) | 180 \xc3\xa9 3:ca661e7520de (esc) |
181 | 181 |
182 hg tags (JSON) | |
183 | |
184 $ hg tags -Tjson | |
185 [ | |
186 { | |
187 "id": "a52c0692f24a", | |
188 "rev": 5, | |
189 "tag": "tip", | |
190 "type": "" | |
191 }, | |
192 { | |
193 "id": "ca661e7520de", | |
194 "rev": 3, | |
195 "tag": "\xc3\xa9", (esc) | |
196 "type": "" | |
197 } | |
198 ] | |
199 | |
182 hg branches (ascii) | 200 hg branches (ascii) |
183 | 201 |
184 $ HGENCODING=ascii hg branches | 202 $ HGENCODING=ascii hg branches |
185 ? 5:a52c0692f24a | 203 ? 5:a52c0692f24a |
186 default 4:94db611b4196 (inactive) | 204 default 4:94db611b4196 (inactive) |