SharpCvsLib

CvsRoot Constructor 

Constructor. Parses a cvsroot variable passed in as a string into the different properties that make it up. The cvsroot can consisit of the following components: 1) protocol: such as the pserver, ssh and ext protocols NOTE: Currently unsupported, but valid cvs protocols include: sspi and ntserver 2) username: the login user for the remote client. This will be used to authenticate the user on the remote machine. 3) server: server that the repository sits on. 4) path: path to the repository on the server

[Visual Basic]
Public Sub New( _
   ByVal cvsRoot As String _
)
[C#]
public CvsRoot(
   string cvsRoot
);

Parameters

cvsRoot
Missing <param> documentation for cvsRoot

Exceptions

Exception TypeCondition
CvsRootParseExceptionIf the cvsroot does not translate to a valid cvsroot.

Example

Cvsroot examples: 1) :pserver:anonymous@cvs.sourceforge.net:/cvsroot/sharpcvslib would be parsed as follows: protocol = pserver (password server protocol) user = anonymous server = cvs.sourceforge.net port = 2401 (default port) path = /cvsroot/sharpcvslib 2) :pserver:anonymous@cvs.sourceforge.net:80:/cvsroot/sharpcvslib would be parsed as follows: protocol = pserver (password server protocol) user = anonymous server = cvs.sourceforge.net port = 80 path = /cvsroot/sharpcvslib

See Also

CvsRoot Class | ICSharpCode.SharpCvsLib.Misc Namespace