tests/test-pull-permission
author Brendan Cully <brendan@kublai.com>
Fri, 21 Jul 2006 02:36:17 +0200
changeset 2643 3b53fa20dda8
parent 1933 7544700fd931
child 3853 c0b449154a90
permissions -rwxr-xr-x
Preserve multibyte UTF-8 characters when obfuscating. This version uses the unicode 'replace' option, so non-UTF-8 encodings will still be mangled. Luckily, there aren't any of those.

#!/bin/sh

mkdir a
cd a
hg init
echo foo > b
hg add b
hg ci -m "b" -d "1000000 0"

chmod -w .hg

cd ..

hg clone a b

chmod +w a/.hg # let test clean up

cd b
hg verify