3 # http://bugs.darcs.net/issue1057: Identifying current repository when pulling from repository identified via symbolic link
7 ## I would use the builtin !, but that has the wrong semantics.
8 not
() { "$@" && exit 1 ||
:; }
10 # darcs does not support cygwin paths (/cygdrive/c/foo), so if
11 # we want to run the test suite under Cygwin Bash, we must
14 if uname |
grep -i cygwin
> /dev
/null
; then
32 IFS
='' # annoying hack for cygwin and portable_pwd below
35 not darcs pull
--debug -a "$DIR" 2> out
37 grep 'Can.t pull from current repository' out