--- a/mercurial/dirstate.py Fri Mar 24 20:18:02 2006 +0100
+++ b/mercurial/dirstate.py Sat Mar 25 10:02:39 2006 +0100
@@ -62,7 +62,8 @@
elif line[i] == '#': break
line = line[:i].rstrip()
if line: yield line
- files = [self.wjoin('.hgignore')]
+ repoignore = self.wjoin('.hgignore')
+ files = [repoignore]
files.extend(self.ui.hgignorefiles())
pats = []
for f in files:
@@ -84,7 +85,9 @@
pat = line
break
pats.append(pat)
- except IOError: pass
+ except IOError:
+ if f != repoignore:
+ self.ui.warn(_("ignore file %s not found\n") % f)
return pats
def ignore(self, fn):