Skip to content

processFilelog: improve compatibility with encoding=="raw"#3

Merged
ppiorunski merged 1 commit intoperforce:masterfrom
rtollert:filelog-raw
Jun 9, 2022
Merged

processFilelog: improve compatibility with encoding=="raw"#3
ppiorunski merged 1 commit intoperforce:masterfrom
rtollert:filelog-raw

Conversation

@rtollert
Copy link
Copy Markdown
Contributor

p4 filelog may truncate changelist descriptions in multibyte encodings.
Setting p4.encoding = "raw" appears to be an effective workaround, but
p4.run_filelog() breaks under raw encoding, because processFilelog() assumes
the revision object contains strs. This is simple enough to fix.

Signed-off-by: Richard Tollerton rich.tollerton@ni.com

`p4 filelog` may truncate changelist descriptions in multibyte encodings.
Setting p4.encoding = "raw" appears to be an effective workaround, but
p4.run_filelog() breaks under raw encoding, because processFilelog() assumes
the revision object contains strs. This is simple enough to fix.

Signed-off-by: Richard Tollerton <rich.tollerton@ni.com>
@ppiorunski
Copy link
Copy Markdown
Contributor

Thank you for the PR

@ppiorunski ppiorunski merged commit 9757885 into perforce:master Jun 9, 2022
@rtollert rtollert deleted the filelog-raw branch June 16, 2022 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants