tests/test-simple-update
author Adrian Buehlmann <adrian@cadifra.com>
Sat, 24 Oct 2009 19:01:40 +0200
changeset 9637 64425c5a9257
parent 3736 ad3d5b4367cb
permissions -rwxr-xr-x
cmdutil: minor refactoring of changeset_printer._show - use ctx.branch() instead of directly accessing the extra field "branch" - move definitions of locals ('extra' and 'branch') down to where they are used

#!/bin/sh

set -e

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

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

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