[darcs-users] darcs remove command
allan
a.d.clark at ed.ac.uk
Tue Jun 19 23:35:12 UTC 2007
Hi all
I have a few darcs repositories at my work which I access from my home
computer via ssh.
Whenever I attempt to do a darcs push from my home computer I get the
error of
"unknown command: darcs"
The problem being of course that 'darcs' is not installed globally at my
workplace but instead I have installed it locally and for the setup is
that non-interactive remove shells have a slightly different environment
(such that my .bashrc (or whatever) is not run and hence my locally
installed programs are not in $PATH).
Attached is a patch which I have used, it allows the user to set an
environment variable to the remote darcs command to run.
eg
export DARCS_REMOTE_COMMAND = "~/install/bin/darcs"
This is useful for me because I only ever push to a darcs repository via
ssh to the one place.
Anyway just in case this is useful for anyone else the patch is attached.
regards
allan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: darcs_remote_command.patch
Type: text/x-patch
Size: 5923 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20070620/0637e5be/attachment.bin
More information about the darcs-users
mailing list