#!/bin/sh # test that new files created in .hg inherit the permissions from .hg/store "$TESTDIR/hghave" unix-permissions || exit 80 mkdir dir # just in case somebody has a strange $TMPDIR chmod g-s dir cd dir cat >printmodes.py <