Mercurial > hg
changeset 2006:ff8b39daa930
Show reason why an ignore file can't be read and state that it is skipped.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sat, 25 Mar 2006 10:31:06 +0100 |
parents | bc47af2d3693 |
children | 2ffa36dc3423 |
files | mercurial/dirstate.py |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/dirstate.py Sat Mar 25 10:12:23 2006 +0100 +++ b/mercurial/dirstate.py Sat Mar 25 10:31:06 2006 +0100 @@ -86,9 +86,10 @@ pat = line break pats[f].append(pat) - except IOError: + except IOError, inst: if f != repoignore: - self.ui.warn(_("ignore file %s not found\n") % f) + self.ui.warn(_("skipping unreadable ignore file" + " '%s': %s\n") % (f, inst.strerror)) return pats def ignore(self, fn):