[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: once removed can a older version of the file retrieved?
From: |
Larry Jones |
Subject: |
Re: once removed can a older version of the file retrieved? |
Date: |
Tue, 17 Jul 2001 11:22:40 -0400 (EDT) |
address@hidden writes:
>
> one removed ussing cvs remove and a subsequent cvs commit can an
> older version be retrieved ?
Of course. If you just want to retrieve it to look at it, you can use
update with an explicit -r option to get a particular revision (you can
use log to figure out what revision you want), with or without the -p
option to send it to the standard output rather than creating a file.
If you want to resurrect it (i.e., undelete it), then use update with
two -j options to undo the removal. For example:
cvs update -j HEAD -j 1.22 file.c
http://cvshome.org/docs/manual/cvs_6.html#SEC65
-Larry Jones
I like Mom to be impressed when I fulfill the least of my obligations.
-- Calvin