Show More
@@ -5999,7 +5999,10 b' def tags(ui, repo, **opts):' | |||||
5999 | """ |
|
5999 | """ | |
6000 |
|
6000 | |||
6001 | fm = ui.formatter('tags', opts) |
|
6001 | fm = ui.formatter('tags', opts) | |
6002 | hexfunc = ui.debugflag and hex or short |
|
6002 | if fm or ui.debugflag: | |
|
6003 | hexfunc = hex | |||
|
6004 | else: | |||
|
6005 | hexfunc = short | |||
6003 | tagtype = "" |
|
6006 | tagtype = "" | |
6004 |
|
6007 | |||
6005 | for t, n in reversed(repo.tagslist()): |
|
6008 | for t, n in reversed(repo.tagslist()): |
@@ -184,13 +184,13 b' hg tags (JSON)' | |||||
184 | $ hg tags -Tjson |
|
184 | $ hg tags -Tjson | |
185 | [ |
|
185 | [ | |
186 | { |
|
186 | { | |
187 | "node": "a52c0692f24a", |
|
187 | "node": "a52c0692f24ad921c0a31e1736e7635a8b23b670", | |
188 | "rev": 5, |
|
188 | "rev": 5, | |
189 | "tag": "tip", |
|
189 | "tag": "tip", | |
190 | "type": "" |
|
190 | "type": "" | |
191 | }, |
|
191 | }, | |
192 | { |
|
192 | { | |
193 | "node": "ca661e7520de", |
|
193 | "node": "ca661e7520dec3f5438a63590c350bebadb04989", | |
194 | "rev": 3, |
|
194 | "rev": 3, | |
195 | "tag": "\xc3\xa9", (esc) |
|
195 | "tag": "\xc3\xa9", (esc) | |
196 | "type": "" |
|
196 | "type": "" |
General Comments 0
You need to be logged in to leave comments.
Login now