# HG changeset patch # User Franz Glasner # Date 1546011121 -3600 # Node ID e8dda41b714bc7b0ae808555dd70894feca0a6a0 # Parent d842e07ba1998f3a2e7347c69355940f68f5f0c3 The "timestamps" implementation is for local repositories only. Check and/or assert this at different places. diff -r d842e07ba199 -r e8dda41b714b extensions/timestamps.py --- a/extensions/timestamps.py Thu Dec 20 09:12:52 2018 +0100 +++ b/extensions/timestamps.py Fri Dec 28 16:32:01 2018 +0100 @@ -859,9 +859,9 @@ ui.debug("POST HOOK: " + hooktype + '\n') ui.debug("POST HOOK: " + repr(kwds) + '\n') + if not repo.local(): + return if hooktype == "post-revert": - if not repo.local(): - return wctx = repo[None] matcher = gen_matcher(repo, wctx) if matcher is None: