##// 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 if name.split('.', 1)[0].find('commit') > -1:
441 if name.split('.', 1)[0].find('commit') > -1:
442 repo.ui.setconfig('hooks', name, '')
442 repo.ui.setconfig('hooks', name, '')
443 msg = _('hg keyword configuration and expansion example')
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 repo.commit(text=msg)
445 repo.commit(text=msg)
446 ui.status(_('\n\tkeywords expanded\n'))
446 ui.status(_('\n\tkeywords expanded\n'))
447 ui.write(repo.wread(fn))
447 ui.write(repo.wread(fn))
@@ -62,9 +62,6 b''
62 hgext/hgk.py:0:
62 hgext/hgk.py:0:
63 > ui.write("tree %s\n" % short(ctx.changeset()[0]))
63 > ui.write("tree %s\n" % short(ctx.changeset()[0]))
64 warning: unwrapped ui message
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 hgext/mq.py:0:
65 hgext/mq.py:0:
69 > ui.write("mq: %s\n" % ', '.join(m))
66 > ui.write("mq: %s\n" % ', '.join(m))
70 warning: unwrapped ui message
67 warning: unwrapped ui message
General Comments 0
You need to be logged in to leave comments. Login now