tests/test-unrelated-pull
author Bryan O'Sullivan <bos@serpentine.com>
Wed, 20 Jul 2005 03:55:16 -0800
changeset 738 32a97c9d8e98
parent 579 ffeb2c3a1966
child 749 7e4843b7efd2
permissions -rwxr-xr-x
If the argument to make_file can act like a file, return it. This is useful for code that calls command functions, but doesn't want to send I/O through the filesystem.

mkdir a
cd a
hg init
echo 123 > a
hg add a
hg commit -t "a" -u a -d "0 0"

cd ..
mkdir b
cd b
hg init 
echo 321 > b
hg add b
hg commit -t "b" -u b -d "0 0"

hg pull ../a
hg heads