tests/test-simple-update
author Matt Mackall <mpm@selenic.com>
Tue, 12 Jul 2005 20:55:42 -0800
changeset 687 44b30755d07c
parent 547 4fc63e22b1fe
child 749 7e4843b7efd2
permissions -rwxr-xr-x
Hide file hashes in log There are six different kinds of revision numbers and hashes: changeset hash and local number manifest hash and local number file hash and local number We really ought to expose only the changeset hash and local number, so begin hiding the others from the end user manifest hash: 40d07cc930e84a9283d5e03ade23e3454401e148

#!/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