Mercurial > hg-stable
comparison hgext/infinitepush/__init__.py @ 38121:ca1cf9b3cce7
py3: use pycompat.fsencode() to convert tempfile name to bytes
Differential Revision: https://phab.mercurial-scm.org/D3612
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sat, 19 May 2018 18:56:00 +0530 |
parents | 5f2dc1b71cf1 |
children | aac4be30e250 |
comparison
equal
deleted
inserted
replaced
38120:307b19c7c043 | 38121:ca1cf9b3cce7 |
---|---|
1021 store = op.repo.bundlestore.store | 1021 store = op.repo.bundlestore.store |
1022 op.records.add(scratchbranchparttype + '_skippushkey', True) | 1022 op.records.add(scratchbranchparttype + '_skippushkey', True) |
1023 | 1023 |
1024 bundle = None | 1024 bundle = None |
1025 try: # guards bundle | 1025 try: # guards bundle |
1026 bundlepath = "bundle:%s+%s" % (op.repo.root, bundlefile) | 1026 bundlepath = "bundle:%s+%s" % (op.repo.root, |
1027 pycompat.fsencode(bundlefile)) | |
1027 bundle = hg.repository(op.repo.ui, bundlepath) | 1028 bundle = hg.repository(op.repo.ui, bundlepath) |
1028 | 1029 |
1029 bookmark = params.get('bookmark') | 1030 bookmark = params.get('bookmark') |
1030 bookprevnode = params.get('bookprevnode', '') | 1031 bookprevnode = params.get('bookprevnode', '') |
1031 force = params.get('force') | 1032 force = params.get('force') |