Issue223

Title add a --remote-darcs flag
Priority feature Status wont-fix
Superseder Nosy List beschmi, dagit, droundy, galbolle, jaredj, kowey, tommy
Assigned To Topics ProbablyEasy, SSH, UI

Created on 2006-07-09.13:33:00 by kowey, last changed 2008-08-23.07:33:25 by galbolle.

Messages
msg5663 (view) Author: galbolle Date: 2008-08-23.07:33:19
As suggested in issue1025, an alternative solution would be to have a
'local_darcs' preference in the remote repository telling anyone interacting
with that repo how to call darcs on this machine.

This way, if on my machine I have darcs installed in /some/funky/path/darcs-sfx,
I can just set local_darcs to that path. Anyone pushing to my repository will
execute this command.

If flag proliferation is a problem, instead of a flag, include it in the url
scheme, like so: 'darcs push toto@machine:/repo#darcs-command'. This way, it can
be saved in the repos file, and persist between session.
msg5662 (view) Author: kowey Date: 2008-08-23.07:24:02
This just came up again in issue1025.  Since there is a decent workaround for
this, I'm leaving it as wont-fix, to avoid flag proliferation.

That said, it may be worth considering.  Maybe this sort of flexibility would be
useful anyway (do we want to make it convenient for people to "try out" other
darcses on the server?), and besides, we now have a notion of advanced flags to
mitigate the ill effects of flag explosion.

Somebody should just submit a patch and see what David thinks :-)
msg1830 (view) Author: kowey Date: 2007-07-14.22:49:52
Not needed.  See http://thread.gmane.org/gmane.comp.version-control.darcs.user/10991
msg860 (view) Author: kowey Date: 2006-08-06.09:04:24
Note that I when I made this request, I had not realised you could use edit your
.bash_profile or .cshrc on the remote end and it would find the right darcs. 
Not sure if --remotedarcs is all that useful then...
msg803 (view) Author: droundy Date: 2006-07-09.13:37:17
This sounds reasonable.
-- 
David Roundy
msg802 (view) Author: kowey Date: 2006-07-09.13:32:56
What might be handy for darcs push on remote servers where darcs is not
installed in the expected places, for example,
  darcs push --remotedarcs="/opt/local/bin/darcs"

Files affected: RemoteApply.lhs, DarcsFlags.lhs and DarcsArguments.lhs
I think.

Browse related patches: unstable | stable

History
Date User Action Args
2008-08-23 07:33:25galbollesetnosy: droundy, tommy, beschmi, kowey, dagit, jaredj, galbolle
messages: + msg5663
2008-08-23 07:24:10koweysettopic: + ProbablyEasy, SSH, UI
nosy: + dagit, galbolle, jaredj
messages: + msg5662
title: add a --remotedarcs flag -> add a --remote-darcs flag
2008-08-23 07:21:33koweylinkissue1025 superseder
2007-07-14 22:49:53koweysetstatus: chatting -> wont-fix
nosy: + beschmi
messages: + msg1830
2006-08-06 09:04:28koweysetnosy: droundy, tommy, kowey
messages: + msg860
2006-07-09 13:37:19droundysetstatus: unread -> chatting
nosy: droundy, tommy, kowey
messages: + msg803
2006-07-09 13:33:00koweycreate