bug-cvs
[Top][All Lists]
Advanced

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

(no subject)


From: Momme Maraun
Subject: (no subject)
Date: Thu, 13 Sep 2001 07:49:05 +0200

>Submitter-Id:   net
>Originator:    Momme Maraun ( User maraunxxl )
>Organization: Mobilcom
net
>Confidential:  no
>Synopsis: MINOR-BUG solved
>Severity:   non-critical
>Priority:   low
>Category:  ccvs
>Class:      support
>Release:   cvs-1.11.1p1 (client/server)
>Environment:
System: Linux maxbeth 2.2.16 #1 Wed Aug 2 20:22:26 GMT 2000 i586 unknown

Architecture: i586

>Description:
* (Jeff Johnson <jbj@jbj.org>)
  I tried a "cvs status -v" and received the following:

  ? CVS
  ? programs/CVS
  ? tests/CVS
  cvs server: Examining .
  ===================================================================
  File: Install.dec            Status: Up-to-date
  ...

  I claim that CVS dirs should be ignored.
  (This reportedly happens if "cvs add CVS" (or "cvs add *")
  is followed by "cvs status", in client/server mode - CVS 1.9).



>How-To-Repeat:
  see description,
  can you change me eMail to "info@maxbeth.de", please ?
  If my name in the README next version ? :-))
  Thanks

>Fix:
*** add.old     Thu Apr 19 21:45:31 2001
--- add.c       Thu Sep 13 07:42:01 2001
***************
*** 119,122 ****
--- 119,123 ----
        {
            char *p;
+           char *checkdir;
            p = argv[i];
            while (*p != '\0')
***************
*** 129,132 ****
--- 130,146 ----
                ++p;
            }
+             // skipping directories with CVSADM subdir
+           checkdir = xmalloc( p - argv[i] + 2 + strlen( CVSADM ));
+           strncpy( checkdir, argv[i], p - argv[i] );
+           checkdir[ p - argv[i] ] = 0;
+           strcat( checkdir, "/" );
+           strcat( checkdir, CVSADM );
+           if ( isdir( checkdir )) {
+               if ( !quiet) {
+                   error (0, 0, "directory is under versionscontrol
'%s'; skipping", argv[i]
 );
+               }
+               skip_file = 1;
+           }
+             free( checkdir );
        }






reply via email to

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