bug-cvs
[Top][All Lists]
Advanced

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

cvs misbehaves if .cvsrc file lines end in <CR><LF>


From: Warren L Dodge
Subject: cvs misbehaves if .cvsrc file lines end in <CR><LF>
Date: Thu, 30 Mar 2006 11:33:56 -0800 (PST)

>Submitter-Id:   net
>Originator:     Warren L Dodge
>Organization:
net
>Confidential:  
>Synopsis: cvs misbehaves if .cvsrc file lines end in <CR><LF>     
>Severity:      
>Priority:      
>Category:  cvs    
>Class:         
>Release:       1.11.21
>Environment: solaris, GNU/Linux, cygwin
        
System: Linux zephyr 2.4.21-37.ELhugemem #1 SMP Wed Sep 7 13:22:27 EDT 2005 
i686 i686 i386 GNU/Linux
Architecture: i686

>Description:

        I have found that if the .cvsrc file has <CR><LF> as the line
        termination that cvs does not like that. Below is what it does.

/tools/wdtgnu/cvs-1.11.21/bin/cvs --version
/tools/wdtgnu/cvs-1.11.21/bin/cvs: invalid option -- 
Usage: cvs [cvs-options] command [command-options-and-arguments]
  where cvs-options are -q, -n, etc.
    (specify --help-options for a list of options)
  where command is add, admin, etc.
    (specify --help-commands for a list of commands
     or --help-synonyms for a list of command synonyms)
  where command-options-and-arguments depend on the specific command
    (specify -H followed by a command name for command-specific help)
  Specify --help to receive this message

The Concurrent Versions System (CVS) is a tool for version control.
For CVS updates and additional information, see
    the CVS home page at http://cvs.nongnu.org/


I found this in the cygwin 1.11.17 version but tried it on linux also and get
the same results.

It seems that the line termination should be able to be any CR or LF
combination.


        
>How-To-Repeat:

This is my .csrc file and use <CR><LF> at the end of each line

diff   -rHEAD
cvs    -q
update -d


        
>Fix:

        I assume cvsrc.c need fixed but I don't know how.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]