view tests/test-unrelated-pull @ 12179:1447d3a9ff4a

check-code: fix ternary expression introduced in 1ef9b0b5efec
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 08 Sep 2010 15:16:03 +0200
parents 4c94b6d0fb1c
children
line wrap: on
line source

#!/bin/sh

mkdir a
cd a
hg init
echo 123 > a
hg add a
hg commit -m "a" -u a

cd ..
mkdir b
cd b
hg init
echo 321 > b
hg add b
hg commit -m "b" -u b

hg pull ../a
hg pull -f ../a
hg heads