[cvsnt] Re: Remove old files from the repository?
lists at connectionbrazil.com
Mon Jun 13 13:30:43 BST 2005
Tony Hoyle wrote:
>>> BTW, is there any way to retrieve the file data in this scenario:
>>> - Revision 1.1 is a normal file, with data
>>> - In revision 1.2 the file is removed, so the revision is "dead"
>>> - I delete revision 1.1 of the file
>>> Now I have only the dead revision 1.2. The data that was in 1.1 is
>>> completely gone, right?
>> Because of the way the storage works that's not the case.. the HEAD
>> revision always contains the full text of the file, even if it's
Interesting. What would be the correct procedure to retrieve the last
non-dead revision in such a case (i.e. all revisions before the dead
revision have been removed)?
>> That means that revision 1.2 was empty (being an unchanged delta)
> Aargh need to proofread.
> I mean revision 1.1 is empty.
I didn't understand this at all. It makes sense to me to say that revision
1.2 was empty (unchanged delta), because no actual change to the data
happened (just being marked as dead). But revision 1.1 as empty? Where's
the data then that got committed with revision 1.1 if not in revision 1.1?
Also, can somebody please tell me whether I have to (or should) remove a
tag on a file before I remove the tagged revision of that file, or whether
the tag removal is implicit with the removal of the tagged revision?
More information about the cvsnt