diff --git a/tests/test-pull-permission b/tests/test-pull-permission new file mode 100755 --- /dev/null +++ b/tests/test-pull-permission @@ -0,0 +1,20 @@ +#!/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