Commit 9d134ac
committed
processFilelog: improve compatibility with encoding=="raw"
`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>1 parent eeaa129 commit 9d134ac
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
373 | 376 | | |
374 | 377 | | |
375 | | - | |
376 | | - | |
| 378 | + | |
| 379 | + | |
377 | 380 | | |
378 | | - | |
| 381 | + | |
379 | 382 | | |
380 | 383 | | |
381 | 384 | | |
382 | 385 | | |
383 | | - | |
| 386 | + | |
384 | 387 | | |
385 | 388 | | |
386 | 389 | | |
| |||
0 commit comments