git-cvsserver wart?
- From
Cameron McBride <cameron.mcbride@gmail.com>
- Date
- May 25, 2006, 16:42 UTC
- Message-ID
- <dcedf5e20605250942g6a7417dfh5f2f26df29842def@mail.gmail.com>
I'm a new git user, so if I'm doing something boneheaed - sharp kicks are welcome.
For reasons I won't go into, the ability to use cvs clients is darn near crucial. Although most development is local (where I install / use git), pulling down the latest updates and pushing up minor changes via CVS is helpful at remote locations where I don't want to maintain clients. Git with git-cvsserver makes this very nice. Thanks to all!
Now, the problem I ran into:
code/ntropy> cvs up Can't use an undefined value as an ARRAY reference at /usr/local/bin/git-cvsserver line 761. closing dbh with active statement handles cvs [update aborted]: end of file from server (consult above messages if any) code/ntropy> cvs -v Concurrent Versions System (CVS) 1.11.1p1 (client/server)
Doing a 'cvs up -dP' (or either of the two individually) seems to work fine.
so, it's an old client, a newer client doesn't have this problem. a bare 'cvs up' works fine on: Concurrent Versions System (CVS) 1.11.17 (client/server)
Just to be clear, it appears everything gets updated with the workaround - but there might be something else amiss, so I thought it was worth mentioning.
Cameron
p.s. I'm assuming the following statement is harmless (it's always present): closing dbh with active statement handles