tests/test-pull-permission
author mpm@selenic.com
Mon, 19 Sep 2005 15:59:17 -0700
changeset 1278 6a0d373d3126
parent 1244 937ee88da3ef
child 1750 955a7caf005c
permissions -rwxr-xr-x
hgit -> hgk.py Move hgit to hgk.py - importing hgit as an extension created compiled hgitc, which was confusing - hgit existed to support hgk so it was slightly misnamed - removed executable bit as we no longer run it directly - add 'view' command so we can run hg view - change git-* commands to debug-* so hg help won't show them - chdir to repository root on view so hgk doesn't choke in subdirs

#!/bin/sh

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

chmod -w .hg

cd ..

hg clone a b
cd b
hg verify

cd ..

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