branch | stable |
changeset 16638 | 29fe533fe447 |
parent 16636 | b371056ae353 |
child 16642 | 5cf18921bb7b |
--- 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')]