Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

work with http proxy

11 views
Skip to first unread message

Ken

unread,
Nov 10, 2005, 4:07:29 AM11/10/05
to
I tried to checkout the project code like this,
/usr/bin/cvs
-d:pserver:proxy=mycompany.com:proxyport=8080:anon...@some.project.org
-p project
but I failed because of connection timeout.

how could I check if my version of cvs client support http proxy
server? do I have usage error in above commad line?

Mark D. Baushke

unread,
Nov 10, 2005, 12:38:19 PM11/10/05
to Ken, info...@nongnu.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ken <Ken...@gmail.com> writes:

> I tried to checkout the project code like this,
> /usr/bin/cvs
> -d:pserver:proxy=mycompany.com:proxyport=8080:anon...@some.project.org

You have a syntax error in the CVSROOT. For proxy= and proxyport= they
the optiosn included in the ':method;option=arg;option=arg:' of the
first -d:method;option=arg;option=arg:host.domain/path/name and are
separated by ';' characters from the 'pserver'

- -d':pserver;proxy=mycompany.com;proxyport=8080:anon...@some.project.org/directory/root-for-cvs'

> -p project
> but I failed because of connection timeout.

It didn't do what you thought it should do...

> how could I check if my version of cvs client support http proxy
> server? do I have usage error in above commad line?

http://ximbiot.com/cvs/manual/cvs-1.12.13/cvs_2.html#SEC28

Good luck,
-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFDc4WLCg7APGsDnFERAmk2AKCEHQgaLWYbJ0diE5wn3c7aRBj8UACfXvDU
Gg1SgDAihWrHkIpxs3CsrYg=
=9WT8
-----END PGP SIGNATURE-----


Ken

unread,
Nov 10, 2005, 8:47:57 PM11/10/05
to
Thanks for pointing out the syntax error, but this failed again on a
bash command line,
cvs
-d:pserver;proxy=proxy.mycompany.com;proxyport=8080:an...@cvs.openejb.codehaus.org:/scm/openejb
co openejb
An error is outputed saying the correct usage of cvs and No such file
or directory warning message like below.
co: RCS/openejb,v: No such file or directory

I think bash will not regconize the ';' in above line, I tried to add
'\' or single quote before ';', both are not work.

Russ Sherk

unread,
Nov 11, 2005, 8:39:31 AM11/11/05
to Ken, info...@nongnu.org

What happens if you quote the whole -d line:

 -d":pserver;proxy=proxy.mycompany.com;proxyport=8080:an...@cvs.openejb.codehaus.org:/scm/openejb"

--Russ

_______________________________________________
Info-cvs mailing list
Info...@nongnu.org
http://lists.nongnu.org/mailman/listinfo/info-cvs

Ken

unread,
Nov 13, 2005, 8:37:36 PM11/13/05
to
cvs
-d":pserver;proxy=proxy.net;proxyport=8080:an...@cvs.openejb.codehaus.org:/scm/openejb"
co openejb
cvs checkout: Unknown method (`pserver;proxy=proxy.net;proxyport=8080')
in CVSROOT.
cvs [checkout aborted]: Bad CVSROOT:
`:pserver;proxy=proxy.net;proxyport=8080:an...@cvs.openejb.codehaus.org:/scm/openejb'.

Mark D. Baushke

unread,
Nov 14, 2005, 4:29:47 AM11/14/05
to Ken, info...@nongnu.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ken <Ken...@gmail.com> writes:

Not all versions of CVS support proxy and proxyport as I believe that
those were introduced into CVS 1.12.7.

You probably want to include

'cvs --version'

output and if you see it is anything older than 1.12.7, you should
consider an upgrade to CVS version 1.12.13.

-- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFDeFkKCg7APGsDnFERAuuzAKCY76+uB1VmrHk2SieeUqgvxiq1ZQCfcHpJ
Od+YYcVbjyElRIJaL9oXp38=
=fA/+
-----END PGP SIGNATURE-----


Ken

unread,
Nov 14, 2005, 10:09:55 PM11/14/05
to
I updated the cvs then the problem is solved, thanks.

0 new messages