git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git cvsimport fails noisily if cvs has no server support
@ 2008-02-03 15:28 Jean-Luc Herren
  2008-02-03 18:08 ` Robin Rosenberg
  0 siblings, 1 reply; 5+ messages in thread
From: Jean-Luc Herren @ 2008-02-03 15:28 UTC (permalink / raw)
  To: git

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>
$ 

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-02-05 13:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-03 15:28 git cvsimport fails noisily if cvs has no server support Jean-Luc Herren
2008-02-03 18:08 ` Robin Rosenberg
2008-02-04 15:27   ` [PATCH] git-cvsimport: Detect cvs without support for server mode Jean-Luc Herren
2008-02-05  9:08     ` Junio C Hamano
2008-02-05 13:03       ` Jean-Luc Herren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).