##// END OF EJS Templates
check if a file is ignored before complaining if it is an unsupported type
Benoit Boissinot -
r1396:8c3e2a25 default
parent child Browse files
Show More
@@ -308,8 +308,7 b' class dirstate:'
308 ds = os.path.join(nd, f +'/')
308 ds = os.path.join(nd, f +'/')
309 if statmatch(ds, st):
309 if statmatch(ds, st):
310 work.append(p)
310 work.append(p)
311 elif supported_type(np, st):
311 elif statmatch(np, st) and supported_type(np, st):
312 if statmatch(np, st):
313 yield util.pconvert(np)
312 yield util.pconvert(np)
314
313
315
314
@@ -340,7 +339,7 b' class dirstate:'
340 continue
339 continue
341 found = False
340 found = False
342 self.blockignore = True
341 self.blockignore = True
343 if supported_type(ff, st) and statmatch(ff, st):
342 if statmatch(ff, st) and supported_type(ff, st):
344 found = True
343 found = True
345 self.blockignore = False
344 self.blockignore = False
346 if found:
345 if found:
General Comments 0
You need to be logged in to leave comments. Login now