##// END OF EJS Templates
notify: add maxdiffstat option to truncate long file lists...
notify: add maxdiffstat option to truncate long file lists Large scale changes like a new GCC version can easily result in 1MB+ emails due to diffstat alone. The new maxdiffstat option truncates the list similar to what maxdiff already provides for the diffs. Differential Revision: https://phab.mercurial-scm.org/D3402

File last commit:

r37138:a8a902d7 default
r37795:a4cac7b0 default
Show More
mockblackbox.py
15 lines | 369 B | text/x-python | PythonLexer
Robert Stanca
py3: use absolute_import in mockblackbox.py
r28943 from __future__ import absolute_import
Yuya Nishihara
procutil: bulk-replace function calls to point to new module
r37138 from mercurial.utils import (
procutil,
Robert Stanca
py3: use absolute_import in mockblackbox.py
r28943 )
Gregory Szorc
tests: move mock blackbox extension into own file...
r24705
Boris Feld
devel: update blackbox to use default-date...
r32412 # XXX: we should probably offer a devel option to do this in blackbox directly
Gregory Szorc
tests: move mock blackbox extension into own file...
r24705 def getuser():
Gregory Szorc
py3: use b'' in mockblackbox.py...
r36122 return b'bob'
timeless
tests: mock getpid to reduce glob usage...
r28028 def getpid():
return 5000
Gregory Szorc
tests: move mock blackbox extension into own file...
r24705
# mock the date and user apis so the output is always the same
def uisetup(ui):
Yuya Nishihara
procutil: bulk-replace function calls to point to new module
r37138 procutil.getuser = getuser
procutil.getpid = getpid