tests/test-lock-badness
author Vadim Gelfer <vadim.gelfer@gmail.com>
Fri, 31 Mar 2006 10:37:25 -0800
changeset 2029 d436b21b20dc
parent 2016 ff5c9a92f556
child 3853 c0b449154a90
permissions -rwxr-xr-x
rewrite revert command. fix issues 93, 123, 147. new version does these things: - saves backup copies of modified files (issue 147) - prints output like other commands, and errors when files not found (issue 123) - marks files added/removed (issue 93)

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