##// END OF EJS Templates
Don't ignore everything if all hgignore files are empty.
Thomas Arendsen Hein -
r2008:11ffa126 default
parent child Browse files
Show More
@@ -100,10 +100,10 b' class dirstate(object):'
100 return False
100 return False
101 if not self.ignorefunc:
101 if not self.ignorefunc:
102 ignore = self.hgignore()
102 ignore = self.hgignore()
103 if ignore:
103 allpats = []
104 [allpats.extend(patlist) for patlist in ignore.values()]
105 if allpats:
104 try:
106 try:
105 allpats = []
106 [allpats.extend(patlist) for patlist in ignore.values()]
107 files, self.ignorefunc, anypats = (
107 files, self.ignorefunc, anypats = (
108 util.matcher(self.root, inc=allpats, src='.hgignore'))
108 util.matcher(self.root, inc=allpats, src='.hgignore'))
109 except util.Abort:
109 except util.Abort:
General Comments 0
You need to be logged in to leave comments. Login now