info-cvs
[Top][All Lists]
Advanced

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

Re: Check in and out a file.


From: Frederic Brehm
Subject: Re: Check in and out a file.
Date: Wed, 19 May 2004 08:20:57 -0400

At 08:03 PM 5/18/2004, Hon Seng Phuah wrote:
For example, if five developers check in five different copied of
abc.c at very short delay. I expect to check out abc.c file and rename
them as abc.c.1, abc.c.2, abc.c.3, abc.c.4 and abc.c.5 respectively in
a particular directory.

Cvs doesn't have this "feature" built in. You can do it manually this way:

        cvs co -p -r 1.1 abc.c > abc.c.1
        cvs co -p -r 1.2 abc.c > abc.c.2
        cvs co -p -r 1.3 abc.c > abc.c.3
        cvs co -p -r 1.4 abc.c > abc.c.4
        cvs co -p -r 1.5 abc.c > abc.c.5

But then, cvs has no recollection of those abc.c.* files so you won't be able to do any cvs operations on them.

Fred


_______________________________________________________________
Frederic W. Brehm, Sarnoff Corporation, http://www.sarnoff.com/





reply via email to

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