branch | stable |
changeset 35800 | d5288b966e2f |
parent 35741 | 73432eee0ac4 |
child 37876 | 9c98cb30f4de |
--- a/mercurial/minifileset.py Tue Jan 23 21:29:45 2018 -0500 +++ b/mercurial/minifileset.py Wed Jan 24 22:26:28 2018 -0500 @@ -30,7 +30,7 @@ pl = len(p) f = lambda n, s: n.startswith(p) and (len(n) == pl or n[pl] == '/') return f - raise error.ParseError(_("unsupported file pattern"), + raise error.ParseError(_("unsupported file pattern: %s") % name, hint=_('paths must be prefixed with "path:"')) elif op == 'or': func1 = _compile(tree[1])