log mercurial/hook.py @ 50896:b2b8c25f9462

age author description
Thu, 23 Mar 2023 11:36:25 +0000 Arseniy Alekseyev hooks: invalidate the repo after the hooks stable
Thu, 03 Mar 2022 18:28:30 -0800 Gregory Szorc global: bulk replace simple pycompat.iteritems(x) with x.items()
Thu, 03 Mar 2022 17:34:00 +0100 Gregory Szorc py2: remove simple from __future__ statements
Thu, 25 Mar 2021 18:02:08 +0100 Raphaël Gomès contributor: change mentions of mpm to olivia
Wed, 10 Feb 2021 23:03:54 +0100 Pierre-Yves David hooks: add a `auto` value for `hooks.*run-with-plain` stable
Wed, 10 Feb 2021 23:21:21 +0100 Pierre-Yves David hooks: introduce a `:run-with-plain` option for hooks stable
Wed, 10 Feb 2021 21:05:05 +0100 Pierre-Yves David hooks: forbid ':' in hook name stable
Mon, 14 Dec 2020 18:03:29 -0500 Matt Harbison hook: set `HGPLAIN=1` for external hooks
Fri, 27 Nov 2020 17:03:29 -0500 Augie Fackler formating: upgrade to black 20.8b1
Mon, 05 Oct 2020 17:18:39 -0400 Mitchell Plamann hook: ignore EPIPE when flushing stdout/stderr
Tue, 26 May 2020 08:07:24 -0700 Martin von Zweigbergk merge with stable
Fri, 01 May 2020 01:32:08 +0200 Joerg Sonnenberger hooks: provide access to transaction changes for internal hooks
Thu, 14 May 2020 23:14:24 -0400 Charles Chamberlain py3: change default priority and length used for sorting hooks to be compatible with python 3 stable
Sun, 29 Mar 2020 11:58:50 -0700 Gregory Szorc hook: move stdio redirection to context manager
Thu, 14 Nov 2019 11:52:22 -0800 Martin von Zweigbergk procutil: move mainfrozen() to new resourceutil.py
Thu, 07 Nov 2019 13:18:19 -0500 Augie Fackler cleanup: remove pointless r-prefixes on double-quoted strings
Tue, 08 Oct 2019 15:06:18 -0700 Martin von Zweigbergk cleanup: join string literals that are already on one line
Mon, 07 Oct 2019 00:04:04 -0400 Gregory Szorc py3: finish porting iteritems() to pycompat and remove source transformer
Sun, 06 Oct 2019 16:55:18 -0400 Gregory Szorc py3: manually import getattr where it is needed
Sun, 06 Oct 2019 09:48:39 -0400 Augie Fackler formatting: byteify all mercurial/ and hgext/ string literals
Sun, 06 Oct 2019 09:45:02 -0400 Augie Fackler formatting: blacken the codebase
Sun, 16 Dec 2018 17:53:17 +0900 Yuya Nishihara py3: use forcebytestr() to stringify hook exception
Fri, 21 Sep 2018 19:48:23 -0400 Matt Harbison py3: rename pycompat.getcwd() to encoding.getcwd() (API)
Sun, 15 Jul 2018 23:51:43 -0400 Matt Harbison hook: only print the note about native cmd translation if it actually changes
Sun, 15 Jul 2018 23:46:09 -0400 Matt Harbison hook: disable the shell to native command translation by default
Sat, 07 Jul 2018 23:38:06 -0400 Matt Harbison hook: add support for disabling the shell to native command translation
Sat, 07 Jul 2018 23:47:49 -0400 Matt Harbison hook: narrow the 'priority' prefix check to align with the documentation
Thu, 28 Jun 2018 22:23:08 -0400 Matt Harbison procutil: add a shim for translating shell commands to native commands
Sun, 02 Jul 2017 00:32:09 -0400 Matt Harbison hooks: allow Unix style environment variables on external Windows hooks
Wed, 16 May 2018 14:11:41 -0600 hindlemail filemerge: support specifying a python function to custom merge-tools
Thu, 10 May 2018 21:08:32 +0900 Yuya Nishihara stringutil: flip the default of pprint() to bprefix=False
Sat, 14 Apr 2018 00:08:59 -0400 Augie Fackler hook: also use pprint on lists for stable output on py2/3
Fri, 13 Apr 2018 23:56:11 -0400 Augie Fackler hook: use stringutil.pprint instead of reinventing it
Sat, 07 Apr 2018 21:23:42 +0900 Yuya Nishihara procutil: make explainexit() simply return a message (API)
Sat, 24 Mar 2018 15:10:51 +0900 Yuya Nishihara procutil: bulk-replace function calls to point to new module
Sat, 24 Mar 2018 15:09:33 +0900 Yuya Nishihara procutil: bulk-replace util.std* to point to new module
Sat, 10 Mar 2018 22:02:58 -0500 Matt Harbison hook: ensure stderr is flushed when an exception is raised, for test stability
Sun, 11 Feb 2018 16:02:32 -0800 Gregory Szorc py3: use system strings when calling __import__
Sun, 10 Dec 2017 04:46:50 +0530 Pulkit Goyal py3: handle keyword arguments correctly in hook.py
Sun, 08 Oct 2017 13:08:31 +0200 Boris Feld hook: add a 'hashook' function to test for hook existence
Sat, 17 Jun 2017 15:29:26 +0530 Pulkit Goyal py3: convert keys of kwargs back to bytes using pycompat.byteskwargs()
Fri, 02 Jun 2017 10:35:21 +0530 Pulkit Goyal py3: convert exception to bytes to pass into ui.warn()
Thu, 01 Jun 2017 01:41:34 +0530 Pulkit Goyal py3: ensure that we don't concat bytes and str and the end result is bytes
Fri, 31 Mar 2017 11:53:56 +0200 Pierre-Yves David hook: add hook name information to external hook
Fri, 31 Mar 2017 11:08:11 +0200 Pierre-Yves David hook: provide hook type information to external hook
Fri, 31 Mar 2017 11:06:42 +0200 Pierre-Yves David hook: use 'htype' in 'hook'
Fri, 31 Mar 2017 11:03:23 +0200 Pierre-Yves David hook: use 'htype' in 'runhooks'
Fri, 31 Mar 2017 11:02:05 +0200 Pierre-Yves David hook: fix name used in untrusted message
Fri, 31 Mar 2017 10:59:37 +0200 Pierre-Yves David hook: use "htype" as variable name in _pythonhook
Mon, 06 Mar 2017 03:09:15 -0800 Simon Farnsworth hook: give exthooks tags for blocking time
Wed, 15 Feb 2017 13:17:39 -0800 Simon Farnsworth mercurial: switch to util.timer for all interval timings
Wed, 23 Nov 2016 00:03:11 +0530 Pulkit Goyal py3: use pycompat.getcwd() instead of os.getcwd()
Thu, 20 Oct 2016 23:53:36 +0900 Yuya Nishihara py3: bulk replace sys.stdin/out/err by util's
Tue, 08 Nov 2016 22:41:45 +0900 Yuya Nishihara hook: lower inflated use of sys.__stdout__ and __stderr__
Tue, 08 Nov 2016 22:22:22 +0900 Yuya Nishihara hook: flush stdout before restoring stderr redirection
Thu, 20 Oct 2016 22:39:59 +0900 Yuya Nishihara hook: do not redirect stdout/err/in to ui while running in-process hooks (BC)
Thu, 14 Apr 2016 02:41:15 -0700 Pierre-Yves David hook: report untrusted hooks as failure (issue5110) (BC)
Thu, 14 Apr 2016 17:03:49 -0700 Pierre-Yves David hook: split config reading further
Thu, 14 Apr 2016 02:28:46 -0700 Pierre-Yves David hook: small refactor to store hooks as dict instead of list
Fri, 12 Feb 2016 14:50:10 -0800 Siddharth Agarwal hook: don't crash on syntax errors in python hooks
Fri, 12 Feb 2016 11:44:35 -0800 Siddharth Agarwal hook: for python hook exceptions, add note to run with --traceback
Fri, 12 Feb 2016 11:34:04 -0800 Siddharth Agarwal hook: even fewer parentheses for load errors
Thu, 11 Feb 2016 22:52:23 -0800 Siddharth Agarwal hook: for python hook ImportErrors, add note to run with --traceback
Thu, 11 Feb 2016 22:41:20 -0800 Siddharth Agarwal hook: fewer parentheses for hook load errors
Thu, 11 Feb 2016 22:02:52 -0800 Siddharth Agarwal hook: use sys.exc_info rather than the deprecated equivalents
Thu, 03 Dec 2015 01:38:21 +0100 Sietse Brouwer dirstate: don't write repo.currenttransaction to repo.dirstate if repo stable
Fri, 06 Nov 2015 11:08:11 -0500 Pierre-Yves David hooks: back 9f272bf3b342 out stable
Tue, 03 Nov 2015 16:58:13 -0800 Durham Goode hooks: always include HG_PENDING stable
Sat, 17 Oct 2015 01:15:34 +0900 FUJIWARA Katsunori hook: centralize passing HG_PENDING to external hook process
Wed, 14 Oct 2015 16:27:10 -0700 Siddharth Agarwal hook: for python hooks, also return whether an exception was raised
Wed, 14 Oct 2015 16:19:47 -0700 Siddharth Agarwal hook.runhooks: return a dict of result values
Wed, 14 Oct 2015 16:13:31 -0700 Siddharth Agarwal hook: factor out determination of hooks from running them
Mon, 12 Oct 2015 18:49:23 -0700 Siddharth Agarwal hook: raise a separate exception for when loading a hook fails
Thu, 08 Oct 2015 12:55:45 -0700 Pierre-Yves David error: get Abort from 'error' instead of 'util'
Sat, 08 Aug 2015 19:24:40 -0700 Gregory Szorc hook: use absolute_import
Tue, 23 Jun 2015 22:20:08 -0700 Gregory Szorc global: mass rewrite to use modern exception syntax
Thu, 28 May 2015 16:42:04 -0400 Jordi Gutiérrez Hermoso hooks: replace if-try-finally with a "with" statement
Mon, 18 May 2015 15:40:23 -0500 Pierre-Yves David hook: drop dedicated catch for 'KeyboardInterrupt'
Fri, 15 May 2015 09:56:43 -0500 Matt Mackall hooks: use try/except/finally
Fri, 10 Apr 2015 22:30:19 -0400 Matt Harbison hook: forcibly flush stderr for Windows test stability
Mon, 01 Dec 2014 19:34:11 -0600 Matt Mackall merge with stable
Sat, 29 Nov 2014 19:13:35 -0800 Pierre-Yves David hook: raise a more specialized HookAbort exception when a hook fails stable
Sat, 08 Nov 2014 13:06:22 +0900 Yuya Nishihara util.system: use ui.system() in place of optional ui.fout parameter
Wed, 12 Nov 2014 22:21:51 +0900 Yuya Nishihara hook: remove redundant code to redirect http hook output to client stream
Mon, 23 Jun 2014 09:24:38 -0400 Augie Fackler hook: restore use of callable() since it was readded in Python 3.2
Sat, 15 Feb 2014 01:23:12 +0100 Mads Kiilerich hooks: for python hooks, consistently use __name__ etc as name, not the repr
Sat, 15 Feb 2014 01:23:12 +0100 Mads Kiilerich hooks: move logging of hook name to after we have found the hook
Mon, 10 Feb 2014 14:51:06 -0800 Brodie Rao hooks: only disable/re-enable demandimport when it's already enabled stable
Wed, 13 Feb 2013 12:51:30 -0800 Durham Goode blackbox: do not translate the log messages
Sat, 09 Feb 2013 09:04:32 -0800 Durham Goode blackbox: logs python and extension hooks via ui.log()
Thu, 20 Dec 2012 21:26:30 +0100 Dirkjan Ochtman hook: disable demandimport before importing hooks
Mon, 26 Nov 2012 17:48:39 -0600 Matt Mackall hooks: be even more forgiven of non-fd descriptors (issue3711) stable
Mon, 26 Nov 2012 16:14:22 -0600 Matt Mackall hooks: delay I/O redirection until we actually run a hook (issue3711) stable
Mon, 27 Aug 2012 23:14:27 +0200 Mads Kiilerich avoid using abbreviations that look like spelling errors
Thu, 26 Jul 2012 02:54:13 +0200 Mads Kiilerich help: fix some instances of 'the the' stable
Fri, 06 Jul 2012 18:41:25 +0200 Simon Heimberg hooks: print out more information when loading a python hook fails
Sat, 23 Jun 2012 19:57:07 +0300 Idan Kamara ui: add a variable to control whether hooks should be called stable
Sun, 15 Jan 2012 13:50:12 -0700 Matt Zuba hooks: prioritize run order of hooks
Wed, 16 Nov 2011 08:34:36 +0100 Thomas De Schampheleire hook: flush stdout before redirecting to stderr stable
Mon, 01 Aug 2011 10:54:34 -0500 Matt Mackall merge with stable
Sat, 30 Jul 2011 23:41:10 +0300 Idan Kamara hook: be prepared for __stdout/err__ not having fileno() stable
Mon, 25 Jul 2011 16:24:37 -0500 Augie Fackler globally: use safehasattr(x, '__call__') instead of hasattr(x, '__call__')
Mon, 25 Jul 2011 16:14:02 -0500 Augie Fackler windows: check util.mainfrozen() instead of ad-hoc checks everywhere
Fri, 22 Jul 2011 08:03:47 -0700 Lee Cantey hooks: use python 2.4 compatible exception handling stable
Sat, 09 Jul 2011 19:06:59 +0300 Idan Kamara hooks: redirect stdout/err/in to the ui descriptors when calling python hooks stable
Tue, 21 Jun 2011 16:55:21 +0300 Idan Kamara hook: write hook output to ui fout descriptor stable
Fri, 06 May 2011 15:31:09 +0200 Adrian Buehlmann rename explain_exit to explainexit
Fri, 24 Dec 2010 15:22:00 +0100 Dan Villiom Podlaski Christiansen hooks: sort any dictionaries set in the environment
Fri, 10 Dec 2010 19:18:02 -0600 Matt Mackall hook: fix import path handling for repo=None stable
Tue, 07 Dec 2010 15:27:04 +0100 Alexander Solovyov hook: assume relative path to hook is given from repo root stable
Wed, 30 Jun 2010 18:15:23 -0500 Maxim Khitrov http: deliver hook output to client stable
Tue, 19 Jan 2010 22:20:08 -0600 Matt Mackall Update license to GPLv2+ stable
Mon, 21 Dec 2009 16:12:43 +0100 Sune Foldager hook: fix bug (reuse of variable) introduced in 872d49dd577a stable
Thu, 12 Nov 2009 14:05:52 -0800 Bryan O'Sullivan Make it possible to debug failed hook imports via use of --traceback
Wed, 28 Oct 2009 21:35:57 +0100 Sune Foldager hook: only redirect stdout if it and stderr are valid files
Wed, 05 Aug 2009 21:45:54 -0500 Steve Borho hook: fix full path imports on Windows (issue1779)
Wed, 13 May 2009 14:08:39 +0200 Dirkjan Ochtman some modernization cleanups, forward compatibility
Tue, 28 Apr 2009 17:40:46 +0200 Simon Heimberg separate import lines from mercurial and general python modules
Sun, 26 Apr 2009 01:08:54 +0200 Martin Geisler updated license to be explicit about GPL version 2
Sun, 26 Apr 2009 16:50:44 -0500 Matt Mackall replace util.sort with sorted built-in