D3612: py3: use pycompat.fsencode() to convert tempfile name to bytes
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Sat May 19 14:41:21 UTC 2018
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D3612
AFFECTED FILES
hgext/infinitepush/__init__.py
CHANGE DETAILS
diff --git a/hgext/infinitepush/__init__.py b/hgext/infinitepush/__init__.py
--- a/hgext/infinitepush/__init__.py
+++ b/hgext/infinitepush/__init__.py
@@ -1023,7 +1023,8 @@
bundle = None
try: # guards bundle
- bundlepath = "bundle:%s+%s" % (op.repo.root, bundlefile)
+ bundlepath = "bundle:%s+%s" % (op.repo.root,
+ pycompat.fsencode(bundlefile))
bundle = hg.repository(op.repo.ui, bundlepath)
bookmark = params.get('bookmark')
To: pulkit, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list