From patchwork Fri Jun 19 14:38:41 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: templates: fix missing closing brace in map-cmdline.status From: Yuya Nishihara X-Patchwork-Id: 9712 Message-Id: To: mercurial-devel@selenic.com Date: Fri, 19 Jun 2015 23:38:41 +0900 # HG changeset patch # User Yuya Nishihara # Date 1434636507 -32400 # Thu Jun 18 23:08:27 2015 +0900 # Node ID b95f0a5e20eafe3c4e152beba5c712acd7afcd8f # Parent 85294076adceb3263056e366023cba2e88ace6ca templates: fix missing closing brace in map-cmdline.status Currently the parser does not validate the last closing brace, but future patches will make it less permissive for this kind of syntax errors. diff --git a/mercurial/templates/map-cmdline.status b/mercurial/templates/map-cmdline.status --- a/mercurial/templates/map-cmdline.status +++ b/mercurial/templates/map-cmdline.status @@ -16,7 +16,7 @@ lfile_adds = '{file_adds % "{ifcontains '{lfile_add}')}"}' lfile_add = '{label("status.added", "A {file}\n")}' -lfile_copies_switch = '{file_copies_switch % "{lfile_copy_orig}{lfile_copy_dest}"' +lfile_copies_switch = '{file_copies_switch % "{lfile_copy_orig}{lfile_copy_dest}"}' lfile_copy_orig = '{label("status.added", "A {name}\n")}' lfile_copy_dest = '{label("status.copied", " {source}\n")}'