tests/test-flags
author mpm@selenic.com
Wed, 22 Jun 2005 11:31:24 -0800
changeset 435 e731d25ddab2
parent 414 291a62848f54
child 440 22b5aaeb3637
permissions -rwxr-xr-x
Fix a compile warning for bdiff -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Fix a compile warning for bdiff manifest hash: 263a8d670a4960f57b6738d41b40626efe1d90d5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD4DBQFCubyMywK+sNU5EO8RAvw5AJ4usI49PlchNMgytp29Fajf+6aGfgCY/7YV PBZf1pfbBH3nO0gEi33CNg== =cw8/ -----END PGP SIGNATURE-----

#!/bin/sh +ex

mkdir test1
cd test1

hg init
touch a b
hg add a b
hg ci -t "added a b" -u test -d "0 0"

cd ..
mkdir test2
cd test2

hg init
hg merge ../test1
hg co
chmod +x a
hg ci -t "chmod +x a" -u test -d "0 0"

cd ../test1
echo 123 >>a
hg ci -t "a updated" -u test -d "0 0"

hg merge ../test2
hg heads
hg history

hg -dv co -m

ls -l ../test[12]/a > foo
cut -b 0-10 < foo