git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-cvsserver commit trouble (unexpected end of file in client)

From
JWJan Wielemaker <wielemak@science.uva.nl>
Date
Oct 3, 2007, 18:42 UTC
Message-ID
<200710032042.14842.wielemak@science.uva.nl>
In-Reply-To
<Pine.LNX.4.64.0710031711070.28395@racer.site>
Dscho,
On Wednesday 03 October 2007 18:11, Johannes Schindelin wrote:
Show 8 quoted lines
> Hi,
>
> On Wed, 3 Oct 2007, Jan Wielemaker wrote:
> > 2007-10-03 12:25:16 : WARN - error 1 pserver cannot find the current
> > HEAD of module
>
> AFAIR we do not allow committing via pserver protocol.  Might that be your
> problem?

Thanks, but no. I'm using CVS over SSH. I've been looking around in git-cvsserver source a bit and it aborts quite quickly if you try a commit through pserver. I get a bit further, but it cannot find the HEAD revision for some reason and (from later message), if I try to checkout master instead of HEAD it finds the revision but I get a hash mismatch.

I've tried a bit debugging this, but in 15 years CVS experience I never really needed to debug the protocol and my GIT experience is only 2 weeks old :-(

My hope is I'm doing something fundamentally wrong and git-cvsserver just doesn't give a sensible error. I did setup the git repository using two different routes, one adviced in the CVS conversion manual. GIT operations work just fine, so does CVS checkout. I don't think you can to that much wrong with cvs over ssh clients, especially if checkout works just fine.

Does anyone out there has a working GIT <-> CVS+SHH setup? Based on what version of GIT? Using what route to create the repository?

	Thanks --- Jan
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 5 of 19 in “git-cvsserver commit trouble (unexpected end of file in client)”
  1. Jan WielemakerOct 3, 2007
  2. Jan WielemakerOct 3, 2007
  3. Jan WielemakerOct 3, 2007
  4. Johannes SchindelinOct 3, 2007
  5. Jan WielemakerOct 3, 2007
  6. Johannes SchindelinOct 3, 2007
  7. Jan WielemakerOct 4, 2007
  8. Jan WielemakerOct 4, 2007
  9. Johannes SchindelinOct 4, 2007
  10. Jan WielemakerOct 4, 2007
  11. cvsserver: only allow checkout of branchesJohannes Schindelin, Oct 4, 2007
  12. Frank LichtenheldOct 4, 2007
  13. Johannes SchindelinOct 4, 2007
  14. Jan WielemakerOct 4, 2007
  15. Johannes SchindelinOct 4, 2007
  16. Frank LichtenheldOct 4, 2007
  17. Frank LichtenheldOct 4, 2007
  18. Johannes SchindelinOct 4, 2007
  19. Shawn O. PearceOct 4, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.