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

Re: [PATCH] git-cvsimport: Detect cvs without support for server mode

From
JHJean-Luc Herren <jlh@gmx.ch>
Date
Feb 5, 2008, 13:03 UTC
Message-ID
<47A85EB7.2070105@gmx.ch>
In-Reply-To
<7vsl07epo5.fsf@gitster.siamese.dyndns.org>
Junio C Hamano wrote:
> If we do not have cvs with server support, is there a fallback
> method we can still use to run cvsps?
I have no idea, I haven't looked at cvsps closely enough.
Show 17 quoted lines
> Jean-Luc Herren <jlh@gmx.ch> writes:
>> diff --git a/t/t9600-cvsimport.sh b/t/t9600-cvsimport.sh
>> index 7706430..d8cbfd0 100755
>> --- a/t/t9600-cvsimport.sh
>> +++ b/t/t9600-cvsimport.sh
>> @@ -10,6 +10,13 @@ then
>>  	exit
>>  fi
>>  
>> +if echo -n | cvs server 2>&1 | grep 'Unknown command' > /dev/null
>> +then
>> +	say 'skipping cvsimport tests, cvs has support for server mode'
>> +	test_done
>> +	exit
>> +fi
> 
> Do you mean "has to support server" or "does not have support for"?

I meant to say "cvs has no support for server mode", but I think "doesn't have support for" is better.

jlh
Previous: Junio C Hamano
Message 5 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.