Patchwork D1373: bundlerepo: use suffix variable

login
register
mail settings
Submitter phabricator
Date Nov. 13, 2017, 11:16 p.m.
Message ID <d10fbd612e33b55b54c6a116afa386c4@localhost.localdomain>
Download mbox | patch
Permalink /patch/25533/
State Not Applicable
Headers show

Comments

phabricator - Nov. 13, 2017, 11:16 p.m.
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




To: indygreg, #hg-reviewers, dlax, durin42
Cc: mercurial-devel

Patch

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: