mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
fix eden debug journal's output
Summary: Fix the output of `eden debug journal` after changing the Thrift API to pass paths in bytes instead of strings. Reviewed By: simpkins Differential Revision: D9403416 fbshipit-source-id: acd9d0f8b241d11295a48fa11f9cc59bd86381f2
This commit is contained in:
parent
96c7bb1c5f
commit
7a6deb1d47
@ -883,10 +883,10 @@ def print_raw_journal_deltas(
|
||||
continue
|
||||
|
||||
label = labels[(info.existedBefore, info.existedAfter)]
|
||||
entries.append(f"{label} {path}")
|
||||
entries.append(f"{label} {os.fsdecode(path)}")
|
||||
|
||||
for path in delta.uncleanPaths:
|
||||
entries.append(f"X {path}")
|
||||
entries.append(f"X {os.fsdecode(path)}")
|
||||
|
||||
if not entries:
|
||||
continue
|
||||
|
Loading…
Reference in New Issue
Block a user