Create a new repository object taking the path to the folder above the CVS directory and the line to enter into the repository file. The repository file stores the relative path to the directory from the server's perspective.
Repository Class | ICSharpCode.SharpCvsLib.FileSystem Namespace