##// 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-up-local-change
37 lines | 456 B | text/plain | TextLexer
/ tests / test-up-local-change
mpm@selenic.com
Add a simple testing framework...
r331 #!/bin/bash
export HGMERGE=true
set -ex
mkdir r1
cd r1
hg init
echo a > a
hg addremove
hg commit -t "1" -u test -d "0 0"
cd ..
mkdir r2
cd r2
hg init ../r1
hg up
echo abc > a
mpm@selenic.com
testing fixups...
r332 hg diff > ../d
sed "s/\(\(---\|+++\).*\)\t.*/\1/" < ../d
mpm@selenic.com
Add a simple testing framework...
r331
cd ../r1
echo b > b
echo a2 > a
hg addremove
hg commit -t "2" -u test -d "0 0"
cd ../r2
hg -q pull ../r1
hg status
hg -d up
hg -d up -m
hg parents
hg -v history
mpm@selenic.com
testing fixups...
r332 hg diff > ../d
sed "s/\(\(---\|+++\).*\)\t.*/\1/" < ../d
mpm@selenic.com
Add a simple testing framework...
r331