diff -r 6da47b655d97 -r 71c1513fd560 mercurial/scmutil.py --- a/mercurial/scmutil.py Mon Oct 22 17:23:31 2012 -0500 +++ b/mercurial/scmutil.py Sun Oct 21 11:20:33 2012 -0200 @@ -32,8 +32,7 @@ raise util.Abort(_("the name '%s' is reserved") % lbl) for c in (':', '\0', '\n', '\r'): if c in lbl: - raise util.Abort(_("%r cannot be used in a %s name") % - (c, kind)) + raise util.Abort(_("%r cannot be used in a name") % c) def checkfilename(f): '''Check that the filename f is an acceptable filename for a tracked file'''