comparison tests/test-lock-badness @ 2016:ff5c9a92f556

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.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Tue, 28 Mar 2006 09:01:07 -0800
parents
children c0b449154a90
comparison
equal deleted inserted replaced
2009:182f500805db 2016:ff5c9a92f556
1 #!/bin/sh
2
3 hg init a
4 echo a > a/a
5 hg --cwd a ci -A -m a
6 hg clone a b
7 echo b > b/b
8 hg --cwd b ci -A -m b
9 chmod 100 a/.hg
10 hg --cwd b push ../a
11 chmod 700 a/.hg