##// END OF EJS Templates
Use printf(1) instead of using bash-specific shell code....
Use printf(1) instead of using bash-specific shell code. Submitted by: Benoit Boissinot <bboissin@gmail.com>

File last commit:

r4292:b90e323a default
r4292:b90e323a default
Show More
test-issue352
22 lines | 226 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
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