##// END OF EJS Templates
issue6528: add a config option to control the fixing on the fly...
issue6528: add a config option to control the fixing on the fly This will allow people who know to be safe to avoid any performance overhead (and other potential issue). Differential Revision: https://phab.mercurial-scm.org/D11271

File last commit:

r43346:2372284d default
r48630:2813d406 5.9rc1 stable
Show More
mockblackbox.py
16 lines | 363 B | text/x-python | PythonLexer
Robert Stanca
py3: use absolute_import in mockblackbox.py
r28943 from __future__ import absolute_import
Augie Fackler
formatting: blacken the codebase...
r43346 from mercurial.utils import procutil
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'
Augie Fackler
formatting: blacken the codebase...
r43346
timeless
tests: mock getpid to reduce glob usage...
r28028 def getpid():
return 5000
Gregory Szorc
tests: move mock blackbox extension into own file...
r24705
Augie Fackler
formatting: blacken the codebase...
r43346
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