From patchwork Thu Jan 9 14:52:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3, of, 6, V2] cleanup: Remove the only ever used skip-check-code pragma From: Simon Heimberg X-Patchwork-Id: 3286 Message-Id: To: Mercurial-devel Cc: Pierre-Yves David Date: Thu, 09 Jan 2014 15:52:35 +0100 # HG changeset patch # User Simon Heimberg # Date 1389130179 -3600 # Tue Jan 07 22:29:39 2014 +0100 # Node ID a48899b6ab2b0e03768344cdf323a318ab5596ee # Parent 0f125811e07ef14d100f82db48ff8ecb556a6279 cleanup: Remove the only ever used skip-check-code pragma Use the work-around suggested by the rule instead diff -r 0f125811e07e -r a48899b6ab2b hgext/keyword.py --- a/hgext/keyword.py Tue Jan 07 22:29:15 2014 +0100 +++ b/hgext/keyword.py Tue Jan 07 22:29:39 2014 +0100 @@ -448,7 +448,7 @@ if name.split('.', 1)[0].find('commit') > -1: repo.ui.setconfig('hooks', name, '') msg = _('hg keyword configuration and expansion example') - ui.note("hg ci -m '%s'\n" % msg) # check-code-ignore + ui.note(("hg ci -m '%s'\n" % msg)) repo.commit(text=msg) ui.status(_('\n\tkeywords expanded\n')) ui.write(repo.wread(fn))