[Updated] D8573: fsmonitor: coerce `clock` variable to byte-string (issue6321)
sheehan (Connor Sheehan)
phabricator at mercurial-scm.org
Thu May 21 00:07:54 UTC 2020
Closed by commit rHG017cc5ee537f: fsmonitor: coerce `clock` variable to byte-string (issue6321) (authored by sheehan).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D8573?vs=21454&id=21455
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D8573/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D8573
AFFECTED FILES
hgext/fsmonitor/__init__.py
CHANGE DETAILS
diff --git a/hgext/fsmonitor/__init__.py b/hgext/fsmonitor/__init__.py
--- a/hgext/fsmonitor/__init__.py
+++ b/hgext/fsmonitor/__init__.py
@@ -667,7 +667,7 @@
class poststatus(object):
def __init__(self, startclock):
- self._startclock = startclock
+ self._startclock = pycompat.sysbytes(startclock)
def __call__(self, wctx, status):
clock = wctx.repo()._fsmonitorstate.getlastclock() or self._startclock
To: sheehan, #hg-reviewers, indygreg
Cc: indygreg, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20200521/30081479/attachment-0002.html>
More information about the Mercurial-patches
mailing list