threads / discuss / 9434

git-cvsserver and change=T

Subject: git-cvsserver and change=T

## tl;dr

One message between Aug 8, 2007 and Aug 8, 2007.

replies: 0people: 1as markdown or json

Donald Munro· Aug 8, 2007, 14:45 UTC · lore

git-cvsserver (git v1.5.2.4) seems to be failing on cvs checkout with the following message: Died at /usr/bin/git-cvsserver line 2534, <FILELIST> chunk 24. Issuing rollback() for database handle being DESTROY'd without explicit disconnect(), <FILELIST> line 24.

The code around 2534 is:
my $filepipe = open(FILELIST, '-|', 'git-diff-tree', '-z', '-r',
$lastpicked, $commit->{hash}) or die("Cannot call git-diff-tree :
$!");
........
my ($mode, $hash, $change) = ($1, $2, $3);
............
if ( $change eq "D" )
.......
elsif ( $change eq "M" )
........
elsif ( $change eq "A" )
........
else
                {
                    $log->warn("UNKNOWN FILE CHANGE mode=$mode,
hash=$hash, change=$change, name=$name");
                    die;
                }

← back to recent threads