Mercurial > hg
changeset 35048:80e9b85d96e5
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
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 11 Nov 2017 17:07:33 -0800 |
parents | 32d079f37207 |
children | 4696938d40f9 |
files | mercurial/bundlerepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/bundlerepo.py Sat Nov 11 17:02:31 2017 -0800 +++ b/mercurial/bundlerepo.py Sat Nov 11 17:07:33 2017 -0800 @@ -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: