--- a/mercurial/ignore.py Mon Dec 17 16:23:37 2012 -0800 +++ b/mercurial/ignore.py Mon Dec 17 15:52:44 2012 -0800 @@ -57,6 +57,8 @@ pats = {} for f in files: + if f in pats: + continue try: pats[f] = [] fp = open(f)