##// END OF EJS Templates
[PATCH] Enables lock work under the other 'OS'...
[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-----

File last commit:

r350:b4e0e206 merge default
r422:10c43444 default
Show More
test-simple-update
25 lines | 250 B | text/plain | TextLexer
#!/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