[cvsnt] Re: Confusion with Windows Device Names and Port Numbers when Specifying the Root
Glen Starrett
grstarrett at cox.net
Thu Jun 24 00:32:34 BST 2004
Siegfried Heintze wrote:
> I have created an empty repository and used CVSNT service control panel to
> add the repository C:\CONVEX. (The documentation did not mention this, but
> it seemed like a good idea).
[snip]
> Here is one (of many) attempts from cmd.exe:
>
> C:\Program Files\Apache Group\Apache2\htdocs>cvs -d
> :pserver:siegfried at 192.168.0.8:2401:c:/CONVEX login
>
> cvs login: CVSROOT may only specify a positive, non-zero, integer port (not
> `2401:c:').
You don't need the port since it's default. You don't need the
C:/CONVEX stince you specified a repository prefix.
NB: The repository prefix prepends itself to any repository passed.
So, if I created a repository in c:\convex\myrepos, and had my
repository prefix set to c:\convex, I would use:
:sspi:myserver:/myrepos
to access it. Note that sspi doesn't require a login, it's the easiest
to setup and use.
> How do I specify the windows device name so it does not get confused with
> the port number?
You don't need to, that's the point of the repository prefix. However,
in general you can do so with // in place of : like so:
:sspi:myserver:/c//convex/myrepos
--
Glen Starrett
More information about the cvsnt
mailing list