D1373: bundlerepo: use suffix variable
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Mon Nov 13 18:16:23 EST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG80e9b85d96e5: bundlerepo: use suffix variable (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1373?vs=3428&id=3450
REVISION DETAIL
https://phab.mercurial-scm.org/D1373
AFFECTED FILES
mercurial/bundlerepo.py
CHANGE DETAILS
diff --git a/mercurial/bundlerepo.py b/mercurial/bundlerepo.py
--- a/mercurial/bundlerepo.py
+++ b/mercurial/bundlerepo.py
@@ -321,7 +321,7 @@
"""Write a temporary file to disk
"""
fdtemp, temp = self.vfs.mkstemp(prefix="hg-bundle-",
- suffix=".hg10un")
+ suffix=suffix)
self.tempfile = temp
with os.fdopen(fdtemp, pycompat.sysstr('wb')) as fptemp:
To: indygreg, #hg-reviewers, dlax, durin42
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list