tests/test-issue352
author Thomas Arendsen Hein <thomas@intevation.de>
Sun, 08 Jul 2007 19:59:02 +0200
changeset 4847 2192001e4bb4
parent 4292 b90e323a4781
child 5091 2184378b20b5
permissions -rwxr-xr-x
Add --line-number option to hg annotate (issue506) Line numbers are separated from the last annotation element with a colon, like with many other commands, e.g. (hg) grep or compiler errors. Idea and tests by FUJIWARA Katsunori.

#!/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