view tests/test-issue352 @ 4727:79cc512a34ed

Fix earlygetop for short options with unnecessary spaces removed Examples: hg log -qR foo hg log -Rfoo hg log -qRfoo
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 26 Jun 2007 18:35:31 +0200
parents b90e323a4781
children 2184378b20b5
line wrap: on
line source

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