annotate tests/test-simple-update @ 331:55f63f3b6a54
Add a simple testing framework
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Add a simple testing framework
manifest hash: 9eeea72f2f33438040998a190183958764232ece
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCr0wKywK+sNU5EO8RAl9FAJ4o1QUA/YE2hCSlUPngR8h30hT1xQCgoEhu
um2QkJOc2Rz7i6xTGPxuqzU=
=YyUM
-----END PGP SIGNATURE-----
author |
mpm@selenic.com |
date |
Tue, 14 Jun 2005 13:28:42 -0800 |
parents |
|
children |
b2293093b89e b4e0e20646bb |
rev |
line source |
331
|
1 #!/bin/bash
|
|
2
|
|
3 set -ex
|
|
4
|
|
5 mkdir test
|
|
6 cd test
|
|
7 echo foo>foo
|
|
8 hg init
|
|
9 hg addremove
|
|
10 hg commit -t "1"
|
|
11 hg verify
|
|
12 cd ..
|
|
13
|
|
14 mkdir branch
|
|
15 cd branch
|
|
16 hg init ../test
|
|
17 hg co
|
|
18 echo bar>>foo
|
|
19 hg commit -t "2"
|
|
20
|
|
21 cd ../test
|
|
22 hg pull ../branch
|
|
23 hg verify
|
|
24 hg co
|
|
25 cat foo
|
|
26 hg manifest |