The watchmanclient.Unavailable exception got an invalid str
method resulting in a crash when watchman is not available.
This fix also solve tests/test-install.t.
Details
Details
- Reviewers
indygreg - Group Reviewers
hg-reviewers
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
hgext/fsmonitor/watchmanclient.py | ||
---|---|---|
26 | There's no __bytes__ on Python 2. So we'll want to preserve an implementation for Python 2. This is typically something like __str__ = encoding.strmethod(__bytes__) |
There's no __bytes__ on Python 2. So we'll want to preserve an implementation for Python 2.
This is typically something like __str__ = encoding.strmethod(__bytes__)