Commit 8b01d1f4 authored by's avatar

Ignore empty ignore patterns

parent e5a480dadca3
......@@ -269,7 +269,8 @@ class repository:
l = open(os.path.join(self.root, ".hgignore")).readlines()
for pat in l:
if pat != "\n":
except IOError: pass
for pat in self.ignorelist:
if return True
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment