D4818: catapipe: fix bug introduced when switching to the timer api
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Mon Oct 1 13:06:23 UTC 2018
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4818
AFFECTED FILES
contrib/catapipe.py
CHANGE DETAILS
diff --git a/contrib/catapipe.py b/contrib/catapipe.py
--- a/contrib/catapipe.py
+++ b/contrib/catapipe.py
@@ -71,7 +71,7 @@
if session not in _threadmap:
_threadmap[session] = len(_threadmap)
pid = _threadmap[session]
- ts_micros = (now - start).total_seconds() * 1000000
+ ts_micros = (now - start) * 1000000
out.write(json.dumps(
{
"name": label,
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list