# HG changeset patch # User Na'Tosha Bard # Date 1336743142 -7200 # Node ID 29fe533fe447a6ea826002c771468d92d3412c74 # Parent 265daefc00b22bdad1a644ea307495eb879d36c7 largefiles: fix deletion of multiple missing largefiles (issue3329) diff -r 265daefc00b2 -r 29fe533fe447 hgext/largefiles/overrides.py --- a/hgext/largefiles/overrides.py Fri May 11 15:15:50 2012 +0200 +++ b/hgext/largefiles/overrides.py Fri May 11 15:32:22 2012 +0200 @@ -552,7 +552,8 @@ for lfile in modified: lfutil.updatestandin(repo, lfutil.standin(lfile)) for lfile in missing: - os.unlink(repo.wjoin(lfutil.standin(lfile))) + if (os.path.exists(repo.wjoin(lfutil.standin(lfile)))): + os.unlink(repo.wjoin(lfutil.standin(lfile))) try: ctx = repo[opts.get('rev')]