view tests/test-pull-permission @ 1989:0541768fa558

ignore EPIPE in ui.err_write It avoids not being able to abort a transaction when a push via ssh fails. Maybe some other place should ignore EPIPE too.
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Thu, 23 Mar 2006 23:16:41 +0100
parents 7544700fd931
children c0b449154a90
line wrap: on
line source

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