tests/test-586
author Matt Mackall <mpm@selenic.com>
Thu, 23 Oct 2008 14:56:16 -0500
changeset 7230 261a9f47b44b
parent 4535 720ae5085ee3
child 7564 f1af59451c0c
permissions -rwxr-xr-x
grep: avoid infinite loop when trailing newline is missing

#!/bin/sh
# a test for issue586

hg init a
cd a
echo a > a
hg ci -Ama

hg init ../b
cd ../b
echo b > b
hg ci -Amb

hg pull -f ../a
hg merge
hg rm -f a
hg ci -Amc

hg st -A