[Top][All Lists]

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

Re: Checking Out a Removed File

From: Karl E. Jorgensen
Subject: Re: Checking Out a Removed File
Date: Mon, 30 Sep 2002 14:05:47 +0100
User-agent: Mutt/1.3.28i

On Mon, Sep 30, 2002 at 08:52:40AM -0400, Jake Colman wrote:
> I created a file on a branch, made numerous changes, and ulitimately removed
> it from the branch.  The file, of course, now exists only in the attic.  I
> now need to look at how I did something in that source module.  How do I
> checkout or gain access to a file that only exists in the attic?
> I know that CVS sees the file since a 'cvs co <file>' will tell me it is no
> loner pertinent.  A 'cvs log' will show me the complete commit log.  But how
> do I get the damned source??

Just check out a non-deleted revision of the file.

>From 'cvs log <file>' you should be able to see the last 'non-dead'
revision number. Then:

    cvs checkout -r <revision> <file>

   PGP signed and encrypted    |      .''`.          |** Debian GNU/Linux **
      messages preferred.      |     : :' :          |    By professionals,    |     \. `'           |    for professionals
                               |       `-            |

reply via email to

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