Mercurial > hg
changeset 16638:29fe533fe447 stable
largefiles: fix deletion of multiple missing largefiles (issue3329)
author | Na'Tosha Bard <natosha@unity3d.com> |
---|---|
date | Fri, 11 May 2012 15:32:22 +0200 |
parents | 265daefc00b2 |
children | 00290bd359fe |
files | hgext/largefiles/overrides.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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')]