Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGca1cf9b3cce7: py3: use pycompat.fsencode() to convert tempfile name to bytes
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
bundle = None try: # guards bundle
- bundlepath = "bundle:%s+%s" % (op.repo.root, bundlefile)
+ bundlepath = "bundle:%s+%s" % (op.repo.root,
+ pycompat.fsencode(bundlefile))
It's probably better to handle this by callers because a filename passed
to a Mercurial function should always be bytes.