changeset 6138 | 09847b90beae |
parent 6110 | 81e20e01d465 |
child 6201 | 305d4450036a |
--- a/mercurial/dirstate.py Sat Feb 16 18:12:30 2008 +0100 +++ b/mercurial/dirstate.py Sun Feb 17 12:53:57 2008 +0100 @@ -197,7 +197,8 @@ def _incpathcheck(self, f): if '\r' in f or '\n' in f: - raise util.Abort(_("'\\n' and '\\r' disallowed in filenames")) + raise util.Abort(_("'\\n' and '\\r' disallowed in filenames: %r") + % f) # shadows if f in self._dirs: raise util.Abort(_('directory %r already in dirstate') % f)