[Cvsnt] get_user_local_config_data and rsh

Tony Hoyle tmh at nothing-on.tv
Tue Apr 9 09:16:23 BST 2002

Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.

Francis Irving wrote:
> Hello,
> In the code for the :ext: protocol it checks the local config data to
> find out what external command to use:
> if(get_user_local_config_data("ext","command",command,sizeof(command)))
> Can anyone tell me where, if anywhere, this gets set at the moment?

It doesn't get set yet (which is partly why it still reads the
environment as well).

> This is for RSH support in TortoiseCVS.  What I'd like to do is use
> :ext: for both RSH and SSH, having the particular one to use for a
> particular server set when the user checks out the module.
> The place for this to be stored seems to be in
> current_server->get_config_data, which I'm assuming is a per-server
> registry key.  Another obvious place to store this would be as an
> extra field somewhere, somehow in CVSROOT.

If you can come up with a syntax for it there's no reason why there
couldn't be an extra field in CVSROOT.

How about:

:ext:{ssh}foo at bar.com:/usr/local/cvs


> How do you folk use :ext: for more than one different protocol on
> different servers?

I suspect most people just stick to ssh.


Cvsnt mailing list
Cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs

More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook