Mercurial > hg
changeset 3932:e0793314360e
writebundle: overwrite existing bundle file
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 19 Dec 2006 08:59:41 -0600 |
parents | f2cbcf1e98b2 |
children | 7997c0e01bfc ea238a4e9e8b |
files | mercurial/changegroup.py |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/changegroup.py Tue Dec 19 08:58:56 2006 -0600 +++ b/mercurial/changegroup.py Tue Dec 19 08:59:41 2006 -0600 @@ -67,8 +67,6 @@ cleanup = None try: if filename: - if os.path.exists(filename): - raise util.Abort(_("file '%s' already exists") % filename) fh = open(filename, "wb") else: fd, filename = tempfile.mkstemp(prefix="hg-bundle-", suffix=".hg")