[cvsnt] [cvsweb_nt] spaces in user name

Thierry Bothorel thierry.bo at netcourrier.com
Thu Jul 10 14:27:27 BST 2003


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi,

After intalling cvsweb_nt, I face now with this problem. I use TortoiseCVS
locally, and cvs automatically use my windows 'username' in all files from
my repository. The problem is that there is one space in my user name and
i have this message :

"Error: Error parsing RCS output: date: 2003/05/21 01:08:32; author: T.
BOTHOREL; state: Exp; "

I edited a file from the repository to remove the space in my user name
and after that it works.

I have 2 solutions :

- change my winnt username and replace it also from all files of my
repository, but having already tried to change my username on a winnt
system, I will run in a lot of problems.

- try to change this portion of cvsweb.cgi I think is related to the
problem (line 1743 to 1756 ~). I have not used regular expressions before,
but I think it is in the first line that we can make a change so that the
author name match even if there is a space in it. Could you help me to
make the change ?

Thanks,

Thierry B.

-------------------------------------------------------
if
(m|^date:\s+(\d+)/(\d+)/(\d+)\s+(\d+):(\d+):(\d+);\s+author:\s+(\S+);\s+state:\s+(\S+);\s+(lines:\s+([0-9\s+-]+))?|)
{
    my $yr = $1;
        # damn 2-digit year routines :-)
        if ($yr > 100) {
            $yr -= 1900;
        }
    $date{$rev} = &Time::Local::timegm($6,$5,$4,$3,$2 - 1,$yr);
    $author{$rev} = $7;
    $state{$rev} = $8;
    $difflines{$rev} = $10;
}
else {
    &fatal("500 Internal Error", "Error parsing RCS output: $_");
}
------------------------------------------------------



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook