##// END OF EJS Templates
Issue937: error messages from hooks not sent over HTTP....
Issue937: error messages from hooks not sent over HTTP. Turns out that stderr - where ui.warn would send messages - was not being proxied over the HTTP connection. stdout was, and it seems you need both. (The streams are interleaved for readability.) Tested on Ubuntu 7.10 with lighttpd on hgweb.cgi with HTTP Basic auth, no SSL, using a changeset failing win32text.forbidcrlf.

File last commit:

r5075:2184378b default
r6265:be76e545 default
Show More
test-issue352
24 lines | 269 B | text/plain | TextLexer
Giorgos Keramidas
Use printf(1) instead of using bash-specific shell code....
r4292 #!/bin/sh
Benoit Boissinot
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
r3607 # http://www.selenic.com/mercurial/bts/issue352
Patrick Mezard
test-issue352: skip tests if platform does not support EOL in paths.
r5075 "$TESTDIR/hghave" eol-in-paths || exit 80
Benoit Boissinot
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
r3607 hg init foo
cd foo
Giorgos Keramidas
Use printf(1) instead of using bash-specific shell code....
r4292 A=`printf 'he\rllo'`
Benoit Boissinot
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
r3607
echo foo > "$A"
hg add
hg ci -A -m m
rm "$A"
Alexis S. L. Carvalho
Leave normalization of patterns to util._matcher...
r4186
echo foo > "hell
o"
Benoit Boissinot
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
r3607 hg add
hg ci -A -m m
Alexis S. L. Carvalho
Leave normalization of patterns to util._matcher...
r4186 echo foo > "$A"
hg debugwalk
Benoit Boissinot
issue352: disallow '\n' and '\r' in filenames (dirstate and manifest)
r3607 exit 0