[cvsnt] Re: Remove old files from the repository?

Gerhard Fiedler lists at connectionbrazil.com
Mon Jun 13 13:30:43 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


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
>> 'dead'. 

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)
>> anyway. 
>> 
> 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?

Thanks,
Gerhard



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook