breaks on Windows:
(1) the DARCS environment variable has windows slashes in it, which end
up being treated as escape characters during the alias expansion. We can
fix that by doubling them in the setenv "DARCS" dp call
(2) eval "$@" instead of "$@" is needed to ensure alias expansion, but
isn't quite the same in terms of escaping inside arguments. Not entirely
sure how this could be fixed.
My overall feeling (discussed with Eric) is that this is too
fragile/error-prone, and the best way to achieve this goal would be to
setup a temporary directory on the PATH and copy the requested darcs-foo
binary to that directory with the name darcs. That'll keep our tests
nice-looking (darcs xxx rather than $DARCS xxx) and also be fairly
robust.
I think there's
|