##// END OF EJS Templates
hook: flush stdout before redirecting to stderr...
hook: flush stdout before redirecting to stderr When hook output redirection is enabled (e.g. when cloning over ssh), hook output on stdout is redirected to stderr, to prevent the repository data on stdout from being corrupted. In certain cases, the redirection could cause part of the repository data to end up on stderr as well. In case of a clone, this causes: "abort: consistency error in delta!" This was seen with a clone over ssh, an outgoing hook present (any non-python type, e.g. 'pwd'), on certain repositories only, probably depending on the distribution of the sent data) This patch updates the hook redirection code to flush stdout before redirecting, removing the problem.
Thomas De Schampheleire -
r15512:8b011ede stable
Show More
Name Size Modified Last Commit Author
/ i18n
da.po Loading ...
de.po Loading ...
el.po Loading ...
fr.po Loading ...
hggettext Loading ...
it.po Loading ...
ja.po Loading ...
polib.LICENSE Loading ...
polib.py Loading ...
posplit Loading ...
pt_BR.po Loading ...
ro.po Loading ...
ru.po Loading ...
sv.po Loading ...
zh_CN.po Loading ...
zh_TW.po Loading ...