##// END OF EJS Templates
keyword: intentionally ignore check-code warning about unwrapped ui message
Christian Ebert -
r16741:77c9a78e default
parent child Browse files
Show More
@@ -441,7 +441,7 b' def demo(ui, repo, *args, **opts):'
441 441 if name.split('.', 1)[0].find('commit') > -1:
442 442 repo.ui.setconfig('hooks', name, '')
443 443 msg = _('hg keyword configuration and expansion example')
444 ui.note("hg ci -m '%s'\n" % msg)
444 ui.note("hg ci -m '%s'\n" % msg) # check-code-ignore
445 445 repo.commit(text=msg)
446 446 ui.status(_('\n\tkeywords expanded\n'))
447 447 ui.write(repo.wread(fn))
@@ -62,9 +62,6 b''
62 62 hgext/hgk.py:0:
63 63 > ui.write("tree %s\n" % short(ctx.changeset()[0]))
64 64 warning: unwrapped ui message
65 hgext/keyword.py:0:
66 > ui.note("hg ci -m '%s'\n" % msg)
67 warning: unwrapped ui message
68 65 hgext/mq.py:0:
69 66 > ui.write("mq: %s\n" % ', '.join(m))
70 67 warning: unwrapped ui message
General Comments 0
You need to be logged in to leave comments. Login now