tests/test-lock-badness
author Brendan Cully <brendan@kublai.com>
Tue, 29 Aug 2006 17:08:55 -0700
changeset 3027 a4374f7331e4
parent 2016 ff5c9a92f556
child 3853 c0b449154a90
permissions -rwxr-xr-x
Call patch.diff directly instead of printdiff - this also saves an extra walk of the working directory.

#!/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