tests/test-issue352
author Nicolas Dumazet <nicdumz.commits@gmail.com>
Wed, 08 Apr 2009 13:29:51 +0900
changeset 8068 389e2820280d
parent 5075 2184378b20b5
child 8936 1de6e7e1bb9f
permissions -rwxr-xr-x
inotify: Simplifying init code simplifying retry = False try: try: doA() retry = True except X: doB() retry = True except: doC() pass if retry: doD() -- into -- try: try: doA() except X: doB() except: doC() pass else: doD()

#!/bin/sh
# http://www.selenic.com/mercurial/bts/issue352

"$TESTDIR/hghave" eol-in-paths || exit 80

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