tests/test-lock-badness
author Brendan Cully <brendan@kublai.com>
Fri, 21 Jul 2006 02:36:17 +0200
changeset 2643 3b53fa20dda8
parent 2016 ff5c9a92f556
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

hg init a
echo a > a/a
hg --cwd a ci -A -m a
hg clone a b
echo b > b/b
hg --cwd b ci -A -m b
chmod 100 a/.hg
hg --cwd b push ../a
chmod 700 a/.hg