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