changeset 21562 | dbf292f65b09 |
parent 21064 | 4d9d490d7bbe |
child 21694 | c08a22bfa16e |
--- a/mercurial/bundlerepo.py Tue May 27 12:09:34 2014 -0700 +++ b/mercurial/bundlerepo.py Tue May 27 21:56:03 2014 +0530 @@ -352,7 +352,7 @@ if not incoming: try: if bundlename: - os.unlink(bundlename) + repo.vfs.unlink(bundlename) except OSError: pass return repo, [], other.close @@ -394,7 +394,7 @@ if bundlerepo: bundlerepo.close() if bundle: - os.unlink(bundle) + repo.vfs.unlink(bundle) other.close() return (localrepo, csets, cleanup)