##// END OF EJS Templates
tags: change field name of formatter output to be the same as log command...
Yuya Nishihara -
r22553:67b6b82a default
parent child Browse files
Show More
@@ -6013,7 +6013,7 b' def tags(ui, repo, **opts):'
6013 fm.startitem()
6013 fm.startitem()
6014 fm.write('tag', '%s', t, label=label)
6014 fm.write('tag', '%s', t, label=label)
6015 fmt = " " * (30 - encoding.colwidth(t)) + ' %5d:%s'
6015 fmt = " " * (30 - encoding.colwidth(t)) + ' %5d:%s'
6016 fm.condwrite(not ui.quiet, 'rev id', fmt,
6016 fm.condwrite(not ui.quiet, 'rev node', fmt,
6017 repo.changelog.rev(n), hn, label=label)
6017 repo.changelog.rev(n), hn, label=label)
6018 fm.condwrite(ui.verbose and tagtype, 'type', ' %s',
6018 fm.condwrite(ui.verbose and tagtype, 'type', ' %s',
6019 tagtype, label=label)
6019 tagtype, label=label)
@@ -184,13 +184,13 b' hg tags (JSON)'
184 $ hg tags -Tjson
184 $ hg tags -Tjson
185 [
185 [
186 {
186 {
187 "id": "a52c0692f24a",
187 "node": "a52c0692f24a",
188 "rev": 5,
188 "rev": 5,
189 "tag": "tip",
189 "tag": "tip",
190 "type": ""
190 "type": ""
191 },
191 },
192 {
192 {
193 "id": "ca661e7520de",
193 "node": "ca661e7520de",
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