# HG changeset patch # User Gregory Szorc # Date 2017-11-12 01:07:33 # Node ID 80e9b85d96e5567ef8d0529488257b9159594774 # Parent 32d079f372078defdd10ad28a118f3cb15082e0e bundlerepo: use suffix variable It looks like the refactor in 702a26fec3e2 attempted to establish this method argument but failed to use it. My editor caught it. Differential Revision: https://phab.mercurial-scm.org/D1373 diff --git a/mercurial/bundlerepo.py b/mercurial/bundlerepo.py --- a/mercurial/bundlerepo.py +++ b/mercurial/bundlerepo.py @@ -321,7 +321,7 @@ class bundlerepository(localrepo.localre """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: