sapling/tests/test-lock-badness
Vadim Gelfer 959e983875 fix backtrace printed when cannot get lock.
change lock error handling code so exceptions have useful info and
exception handling in one place.

add test case for when cannot get lock.
2006-03-28 09:01:07 -08:00

12 lines
157 B
Bash
Executable File

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