This is an archive of the discontinued Mercurial Phabricator instance.

fsmonitor: normalize clock value to bytes
ClosedPublic

Authored by indygreg on Nov 2 2019, 6:03 PM.

Details

Summary

We normalize the value returned by watchman because
we perform a number of compares with this value in code.
So the easiest path forward is to normalize to bytes so we
don't have to update many call sites.

With this commit, the fsmonitor extension appears to be working
with Python 3! Although there are still some failures in edge
cases...

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Nov 2 2019, 6:03 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.