changeset 18143 | 242d2f4ec01c |
parent 17878 | d1d0140287b8 |
child 18146 | 819c7e10d60d |
--- a/hgext/largefiles/lfutil.py Fri Dec 28 11:55:45 2012 +0100 +++ b/hgext/largefiles/lfutil.py Fri Dec 28 11:55:57 2012 +0100 @@ -36,11 +36,7 @@ try: if unlink: for f in list: - try: - util.unlinkpath(repo.wjoin(f)) - except OSError, inst: - if inst.errno != errno.ENOENT: - raise + util.unlinkpath(repo.wjoin(f), ignoremissing=True) repo[None].forget(list) finally: wlock.release()