tests/test-merge8
author Matt Mackall <mpm@selenic.com>
Thu, 05 Jul 2007 13:34:18 -0500
changeset 4815 8808ea7da86b
parent 3389 efbe24c7d8d9
permissions -rwxr-xr-x
merge: make test for fast-forward merge stricter (issue619) don't allow merging with an ancestor fix != on contexts add a test

#!/bin/sh

# Test for changeset ba7c74081861
# (update dirstate correctly for non-branchmerge updates)
hg init a
cd a
echo a > a
hg add a
hg commit -m a
cd ..
hg clone a b
cd a
hg mv a b
hg commit -m move
echo b >> b
hg commit -m b
cd ../b
hg pull ../a
hg update