tests/test-lock-badness
author Dirkjan Ochtman <dirkjan@ochtman.nl>
Thu, 28 Feb 2008 17:51:04 +0100
changeset 6181 d500aeb8092e
parent 3853 c0b449154a90
permissions -rwxr-xr-x
warning on push should mention heads, not branches This makes the concept easier to relate to similar messages given on pull, and allows for a distinction between heads and (named) branches.

#!/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/store
hg --cwd b push ../a
chmod 700 a/.hg/store