comparison mercurial/cmdutil.py @ 14004:97ed99d1f419

eliminate various naked except clauses
author Idan Kamara <idankk86@gmail.com>
date Sat, 23 Apr 2011 00:51:25 +0300
parents d1f4e7fd970a
children e4bfb9c337f3
comparison
equal deleted inserted replaced
14003:ba734ff5cadd 14004:97ed99d1f419
291 for abs in repo.walk(m): 291 for abs in repo.walk(m):
292 target = repo.wjoin(abs) 292 target = repo.wjoin(abs)
293 good = True 293 good = True
294 try: 294 try:
295 audit_path(abs) 295 audit_path(abs)
296 except: 296 except (OSError, util.Abort):
297 good = False 297 good = False
298 rel = m.rel(abs) 298 rel = m.rel(abs)
299 exact = m.exact(abs) 299 exact = m.exact(abs)
300 if good and abs not in repo.dirstate: 300 if good and abs not in repo.dirstate:
301 unknown.append(abs) 301 unknown.append(abs)