[darcs-users] Option to set where darcs push searches remote darcs command

Erik Schnetter schnetter at aei.mpg.de
Fri Mar 4 14:15:44 UTC 2005

On Friday 04 March 2005 13:40, David Roundy wrote:
> On Wed, Mar 02, 2005 at 09:49:24PM +0100, Mariusz Gniazdowski wrote:
> > Hi.
> > On my commercial shell i do not have root privileges and i
> > installed darcs to ~/bin. I have bash there. Darcs push runs just
> > 'darcs' thru ssh so only /bin, /usr/bin, etc. are searched for
> > darcs. Operation ends with: 'darcs: command not found'.
> > As i use bash and do not want to ask my administrator to provide
> > zsh i cant modify environment before 'darcs' command is invoked. -
> > sh -c 'darcs' does not have --login option, so no ~/.bash_profile
> > is loaded,
> > - sh -c 'darcs' is bash runned as 'sh', and as the bash manual
> > says: --norc Do  not read and execute the personal initialization
> > file ~/.bashrc if the shell is interactive.  This option is on by
> > default if the shell is invoked as sh.
> > So there is no way to modify env.
> >
> > Can be option to customize what is runned remotley provided?
> There was a discussion of this recently on this list (although I've
> failed to find it in a brief look at the archives).  There were a
> couple of suggestions, one of which was just to recompile darcs with
> this change, and another (from me) was to use the DARCS_APPLY_FOO
> environment variable with a home-made URL type.

I append a patch to darcs that implements an option 


Erik Schnetter <schnetter at aei.mpg.de>   http://www.aei.mpg.de/~eschnett/

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: darcs-executable-location.diff
Type: text/x-diff
Size: 7750 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20050304/dc9118dc/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20050304/dc9118dc/attachment.pgp 

More information about the darcs-users mailing list