The parsing of the cvsroot fail if the usename is
composed with a "\".
As example, here the error :
Exception parsing command.
ICSharpCode.SharpCvsLib.Exceptions.CvsRootParseExc
eption: Bad cvsroot.
Expected ( :protocol:[usename@]server[:port]:
[C:]/path/to/repos )
Found ( :pserver:serv\xxx@localhost:/REPO )
Etienne Grosse,
tinou@tinou.org
Logged In: NO
Correction :
in ICSharpCode.SharpCvsLib.Misc.CvsRoot
replace the CVSROOT_REGEX by :
public const string CVSROOT_REGEX =
@":(ext|pserver|ssh|local|sspi)
:((?:[\w|\\\\]*@)?[\w]+(?:\.[\w|-]+)*)
:?((?:[\d]*)?)
:((?:(?:[A-Za-z]:/)|/).[^\s]*)";
I added "|\\\\" to correct the problem.