view tests/test-simple-update @ 357:1cb3d9d5119e

[PATCH] Update hgit to the new commands.dodiff parameters -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 [PATCH] Update hgit to the new commands.dodiff parameters From: Chris Mason <mason@suse.com> Update hgit to the new commands.dodiff parameters manifest hash: aa8d98036fae49ab1c1c0e65d86ab0e1bee0fa71 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCsG35ywK+sNU5EO8RAhnoAJwMgK1QA8DkdbU2R19LoLRK1fmCaQCeN1dh 4fHRT4hf+Qi5fND4CpOyqBU= =63xo -----END PGP SIGNATURE-----
author mpm@selenic.com
date Wed, 15 Jun 2005 10:05:45 -0800
parents b4e0e20646bb
children c5705ab9cebd
line wrap: on
line source

#!/bin/bash

set -ex

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

mkdir branch
cd branch
hg init ../test
hg co
echo bar>>foo
hg commit -t "2"

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