Skip to content
Snippets Groups Projects
Commit e6ce1599 authored by Gregory Szorc's avatar Gregory Szorc
Browse files

fsmonitor: fix str/bytes mismatch when accessing watchman version

There were 2 bugs here. First, keys in the tuple are always
str. Second, we needed to normalize the value to bytes to
prevent a str/bytes mismatch on Python 3.

With this commit, `hg debuginstall` with fsmonitor enabled now
works on Python 3.

Differential Revision: https://phab.mercurial-scm.org/D7205
parent 51316de9
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment