view tests/test-simple-update @ 738:32a97c9d8e98

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.
author Bryan O'Sullivan <bos@serpentine.com>
date Wed, 20 Jul 2005 03:55:16 -0800
parents 4fc63e22b1fe
children 7e4843b7efd2
line wrap: on
line source

#!/bin/sh

set -ex

mkdir test
cd test
echo foo>foo
hg init
hg addremove
hg commit -t "1"
hg verify

hg clone . ../branch
cd ../branch
hg co
echo bar>>foo
hg commit -t "2"

cd ../test
hg pull ../branch
hg verify
hg co
cat foo
hg manifest