##// 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
#!/bin/sh
# http://www.selenic.com/mercurial/bts/issue352
hg init foo
cd foo
A=`printf 'he\rllo'`
echo foo > "$A"
hg add
hg ci -A -m m
rm "$A"
echo foo > "hell
o"
hg add
hg ci -A -m m
echo foo > "$A"
hg debugwalk
exit 0