Mercurial > public > mercurial-scm > hg-stable
diff hgext/mq.py @ 11709:3e561b6af810 stable
mq: clarify the fact that qimport is trying to read a file
"hg qimport tip" would throw "abort: unable to read tip" before this.
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Sat, 31 Jul 2010 10:50:29 +0900 |
parents | 64f284da1278 |
children | aae1dd12fce6 4f9dfb54c8b5 |
line wrap: on
line diff
--- a/hgext/mq.py Fri Jul 30 14:41:47 2010 +0900 +++ b/hgext/mq.py Sat Jul 31 10:50:29 2010 +0900 @@ -1702,7 +1702,7 @@ else: text = url.open(self.ui, filename).read() except (OSError, IOError): - raise util.Abort(_("unable to read %s") % filename) + raise util.Abort(_("unable to read file %s") % filename) if not patchname: patchname = normname(os.path.basename(filename)) self.check_reserved_name(patchname)