annotate tests/test-simple-update @ 401:af4848f83e68
From: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
From: Radoslaw Szkodzinski <astralstorm@gorzow.mm.pl>
add hg tag command
Tweaks by mpm:
clean up error messages
handle non-existent .hgtags file
add tests
update test-help output
manifest hash: 569c7fe01193159919af2566e8f5089409ffad65
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCuMMwywK+sNU5EO8RAuUdAJ90TkT/D9lDOnEVAW2d3WT7K8Ct3QCggiJA
c9Qbd79K4UWKQAVkYq03cOY=
=SWS8
-----END PGP SIGNATURE-----
author |
mpm@selenic.com |
date |
Tue, 21 Jun 2005 17:47:28 -0800 |
parents |
b4e0e20646bb |
children |
c5705ab9cebd |
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 |