bug-cvs
[Top][All Lists]
Advanced

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

File added to branch can exist before creation date


From: Richard Earnshaw
Subject: File added to branch can exist before creation date
Date: Fri, 8 Mar 2002 11:25:56 GMT

>Submitter-Id:   net
>Originator:     Richard Earnshaw
>Organization:
net
>Confidential:  no
>Synopsis:      File added to branch can exist before creation date
>Severity:      non-critical
>Priority:      medium
>Category:      cvs
>Class:         sw-bug
>Release:       cvs-1.11
>Environment:
        
System: NetBSD shark1 1.5ZA NetBSD 1.5ZA (SHARK) #91: Fri Feb 8 14:24:26 GMT 
2002 rearnsha@shark1:/usr/src/sys/arch/arm32/compile/SHARK arm32
Unknown version of remote server


>Description:
        This was noticed while trying to add a file on a remote CVS server
         (sorry, don't know what version it is running).

        Assume we have a project which is developing down the trunk, and then
        on, say, 1/1/02 a branch 'foo' is created.

        Now on 2/2/02 we add the file 'bar' on the trunk.  This file will exist
        only on the trunk.
        Then on 3/3/02 we add a file bar on branch 'foo'.

        If we try to check out branch foo for a date between 2/2/02 and 3/3/02
        the trunk version of 'bar' will be retrieved.

        
>How-To-Repeat:

        See above description
        
>Fix:
        When file is added to the branch when that branch didn't exist on that
        file before, a dead file should be added first with the same date and
        time as the file it is 'branching' from.

        



reply via email to

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