[Top][All Lists]

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

Re: co -D 'the time revision 5.4 of a.c was committed'

From: Mark E. Hamilton
Subject: Re: co -D 'the time revision 5.4 of a.c was committed'
Date: Tue, 25 Oct 2005 11:39:34 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913


bill pursell wrote:
Currently, the thing that annoys me about CVS is that I can't
seem to get a copy of the tree as it was at a certain time.
That's not quite what I mean.  Suppose I want to know what
the module foo looked like when a particular revision, say 5.4,
of file a.c was checked in.  Currently, I have to checkout foo, look
at the log for a.c to determine the time that revision 5.4 was
committed, and then checkout the module with -D for that time.
3 steps instead of 1.  How does one do that directly?

Since revision numbers are specific to a file, the only way you could do what you want in one step is to have tagged the repository after commiting revision x.y of a file. If you don't do that, then the three-step process you describe is the only way to do it.

Mark E. Hamilton
Orion International Technologies, Inc.
Sandia National Laboratory, NM.

reply via email to

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