Mercurial > public > mercurial-scm > hg-stable
diff mercurial/changegroup.py @ 3932:e0793314360e
writebundle: overwrite existing bundle file
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 19 Dec 2006 08:59:41 -0600 |
parents | 6b4127c7d52a |
children | 61462e7d62ed |
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")