mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 14:58:03 +03:00
py3: fix encoding in test-visibility.t
Summary: The test itself needs to ensure it decodes the visibleheads file. Reviewed By: quark-zju Differential Revision: D19666640 fbshipit-source-id: 999ab3396b0afc7bd86db9ae1ba126730ee3f02d
This commit is contained in:
parent
299212da50
commit
f00c23e42e
@ -16,7 +16,7 @@ Useful functions
|
||||
> }
|
||||
|
||||
$ printvisibleheads() {
|
||||
> hg dbsh -c 'ui.write(repo.svfs.read("visibleheads"))' | sort
|
||||
> hg dbsh -c 'ui.write(m.pycompat.decodeutf8(repo.svfs.read("visibleheads")))' | sort
|
||||
> }
|
||||
|
||||
Setup
|
||||
|
Loading…
Reference in New Issue
Block a user