bug-cvs
[Top][All Lists]
Advanced

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

Re: small bug when adding binary file to a specific release number


From: Paul Edwards
Subject: Re: small bug when adding binary file to a specific release number
Date: Thu, 14 Aug 2003 08:57:20 GMT

<address@hidden> wrote in message news:address@hidden
> Up to here, its all right, but when you force a revision number when 
> committing, the -kb for binary type file disappears:
>
> cvs add -kb file.bin
> cvs commit -r 1.5 file.bin
> cvs status file.bin
> ----->There are no sticky options, neither here nor the repository.

>From commit.c, it appears that someone is deliberately doing it???

    /* numeric specified revision means we ignore sticky tags... */
    if (saved_tag && isdigit ((unsigned char) *saved_tag))
    {
 char *p = saved_tag + strlen (saved_tag);
 aflag = 1;
 /* strip trailing dots and leading zeros */
 while (*--p == '.') ;
 p[1] = '\0';
 while (saved_tag[0] == '0' && isdigit ((unsigned char) saved_tag[1]))
     ++saved_tag;
    }





reply via email to

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