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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

> Jean-Luc Herren <jlh@xxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux