[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Getting a file that was removed in repository back?
From: |
sherzodr |
Subject: |
RE: Getting a file that was removed in repository back? |
Date: |
Wed, 28 Aug 2002 20:37:06 -0600 (MDT) |
:end of: <http://www.cvshome.org/docs/manual/cvs_5.html#SEC62>.
:
:I've been reading that part and I've been trying some of the examples,
:however it couldn't get the files in the Attic restored.
:The link you gave me to chapter 5 deals with branching and merging and I
:couldn't see anything that brings back files in the Attic.
:What can I do to check that my repository is not corrupted, and restoring of
:repository should be possible?
Here i'm pasting that part of the manual:
Specifying two `-j' options can also undo file removals or additions. For
example, suppose you have a file named `file1' which existed as revision 1.1,
and you then removed it (thus adding a dead revision 1.2). Now suppose you want
to add it again, with the same contents it had previously. Here is how to do it:
$ cvs update -j 1.2 -j 1.1 file1
U file1
$ cvs commit -m test
Checking in file1;
/tmp/cvs-sanity/cvsroot/first-dir/file1,v <-- file1
new revision: 1.3; previous revision: 1.2
done
$
--
sherzod