Mercurial > hg > mercurial-source
changeset 15983:32b9aee3602c stable
largefiles: fix revert on missing largefile (issue3217)
author | Na'Tosha Bard <natosha@unity3d.com> |
---|---|
date | Wed, 25 Jan 2012 16:52:16 +0100 |
parents | bf502ccc46d7 |
children | 894f83a35653 |
files | hgext/largefiles/overrides.py tests/test-largefiles.t |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py +++ b/hgext/largefiles/overrides.py @@ -535,6 +535,8 @@ lfutil.lfdirstate_status(lfdirstate, repo, repo['.'].rev()) for lfile in modified: lfutil.updatestandin(repo, lfutil.standin(lfile)) + for lfile in missing: + os.unlink(repo.wjoin(lfutil.standin(lfile))) try: ctx = repo[opts.get('rev')]