[RFC PATCH 0/4] git-p4: python 3 compatability
- From
Yang Zhao <yang.zhao@skyboxlabs.com>
- Date
- Nov 28, 2019, 01:28 UTC
- Message-ID
- <20191128012807.3103-1-yang.zhao@skyboxlabs.com>
This patchset the necessary changes to have git-p4 run under python 3.
I'm submitting this as an RFC as the changes are not exhaustive. I do not have p4d available, and therefore cannot run the tests locally. I have made best-effort attempts to test the changes against a repo I do have read access to.
Yang Zhao (4): git-p4: decode response from p4 to str for python3 git-p4: properly encode/decode communication with git for python 3 git-p4: open .gitp4-usercache.txt in text mode git-p4: use utf-8 encoding for file paths throughout
git-p4.py | 58 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 41 insertions(+), 17 deletions(-)
-- 2.24.0.windows.2