annotate tests/test-simple-update @ 422:10c43444a38e
[PATCH] Enables lock work under the other 'OS'
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
[PATCH] Enables lock work under the other 'OS'
From: K Thananchayan <thananck@yahoo.com>
os.symlink is not supported under Windows. This patch
introduces util.mklockf, util.getlowner that use
regular files under Winodws but symlink under unix.
tweaked by mpm:
- changed function names
- fixed to work on UNIX
manifest hash: 6f650a78a3b203dcad2f861582500b6b4036599a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCuN5sywK+sNU5EO8RAva8AJ9L9z/JHRAJS1bix48ZzSpn9ZUyPwCffhmg
UfLSFBmd5tPDDi3mgsrdDEA=
=ZYS9
-----END PGP SIGNATURE-----
author |
mpm@selenic.com |
date |
Tue, 21 Jun 2005 19:43:40 -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 |