tests/test-pull-permission
author john.levon@sun.com
Thu, 11 May 2006 14:32:09 -0700
changeset 2267 d812d91c5a84
parent 1933 7544700fd931
child 3853 c0b449154a90
permissions -rwxr-xr-x
Force editor to appear for an 'hg backout' if a message or logfile aren't supplied. Pre-fill the commit message with the changeset being backed out. Fixes bug 238.

#!/bin/sh

mkdir a
cd a
hg init
echo foo > b
hg add b
hg ci -m "b" -d "1000000 0"

chmod -w .hg

cd ..

hg clone a b

chmod +w a/.hg # let test clean up

cd b
hg verify