#721808 git-cvs: perl warnings from git-cvsserver confuse cvs

#721808#5
Date:
2013-09-04 08:30:25 UTC
From:
To:
Dear Maintainer,

I'm on testing and yesterday I did an update that took in the new rc of
git and all things related.  I have a nightly cron job that logs into
the host of my public web-site, creates the needed SSL tunnel and has my
web-site cvs update itself from the git-cvsserver back home; it's worked
fine for ages.  (The remote end is somewhat conservatively sysadmined,
so hasn't taken in radical new packages like git; it still has the GNU
Interactive Tools). The first night after the git upgrade, I got the
following mail from cron: <quote>

cvs update: warning: unrecognized response `Use of uninitialized value $wrev in string ne at /usr/bin/git-cvsserver line 1262, <STDIN> line 1447.' from cvs server
cvs update: warning: unrecognized response `Use of uninitialized value $wrev in string ne at /usr/bin/git-cvsserver line 1307, <STDIN> line 1447.' from cvs server
cvs update: `Vault.png' is no longer in the repository

</quote> which sounds like cvs is getting sent - as part of a protocol
in which they have no place - perl's warnings about uninitialised
variables.  (Oh, and Vault.png is indeed not in the repository, nor has
it been for ages, if ever - not sure what that's about.)  Are the "use
strict;" and "use warnings;" lines in git-cvsserver new ?

The exact command cron runs is: <quote>
ssh -o 'RemoteForward 2402 localhost:2401' chaos 'cd public_html && cvs up'
</quote> my /etc/services has <quote>
cvspserver	2401/tcp			# CVS client/server operations
cvspserver	2401/udp
</quote> and inetd.conf says <quote>
cvspserver stream tcp nowait eddy /usr/bin/git-cvsserver git-cvsserver pserver /home/eddy/.repository/chaos.git
</quote> The remote end's CVS/Root files say <quote>
:pserver:anonymous@localhost:2402/home/eddy/.repository/chaos.git
</quote> to match up with all of that.