Mercurial > hgrepos > DevTools > mercurial-extensions
changeset 258:e8dda41b714b
The "timestamps" implementation is for local repositories only.
Check and/or assert this at different places.
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Fri, 28 Dec 2018 16:32:01 +0100 |
| parents | d842e07ba199 |
| children | 687c3998193c |
| files | extensions/timestamps.py |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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:
