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

git cvsimport fails noisily if cvs has no server support

From
JHJean-Luc Herren <jlh@gmx.ch>
Date
Feb 3, 2008, 15:28 UTC
Message-ID
<47A5DD98.6000606@gmx.ch>
Hello list!

cvs (1.12.12) can be compiled with --disable-server to omit support for cvs servers. Although this is not ./configure's default, it was the default on my distro (gentoo). git-cvsimport fails loudly as pasted below (note that this command is part of the test t9600-cvsimport.sh). Nicer behavior would of course be to detect the situation and inform the user that server support is missing (and to skip the test).

jlh

$ git-cvsimport -a -z 0 -C module-git module Unknown command: `server'

CVS commands are:
        add          Add a new file/directory to the repository
        admin        Administration front end for rcs
[...26 lines omitted...]
        watch        Set watches
        watchers     See who is watching a file
(Specify the --help option for a list of other help options)
Use of uninitialized value in scalar chomp at /home/jlh/cvs/git/t/../git-cvsimport line 345.
Use of uninitialized value in substitution (s///) at /home/jlh/cvs/git/t/../git-cvsimport line 346.
Expected Valid-requests from server, but got: <unknown>
$ 
Next: Robin Rosenberg
Message 1 of 5 in “git cvsimport fails noisily if cvs has no server support”
  1. Jean-Luc HerrenFeb 3, 2008
  2. Robin RosenbergFeb 3, 2008
  3. git-cvsimport: Detect cvs without support for server modeJean-Luc Herren, Feb 4, 2008
  4. Junio C HamanoFeb 5, 2008
  5. Jean-Luc HerrenFeb 5, 2008

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.