info-cvs
[Top][All Lists]
Advanced

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

Re: CVS corruption


From: Rob Helmer
Subject: Re: CVS corruption
Date: Fri, 16 Aug 2002 12:14:46 -0700
User-agent: Mutt/1.2.5i

Hello,


Well, I don't think "salvaging by hand" would be good or neccessarily effective 
:)
Or easy, for that matter.

For one, depends on the corruption, if it's a hardware or kernel VFS failure
of some kind, and the blocks that the file are on are bad, then there is no
salvaging it, since the data itself will be gone.

If you are lucky, maybe you can pull out the original version, even luckier
if you can get a diff to a newer version. That is unlikely, though.

If some bug in CVS for example screws up the format of the RCS file, you
might be able to save it in this way, but it's not a sure thing. It really
depends on the situation.

As with any data you deem important, make regular backups, and verify your
backups. It's alot easier to restore from backup than it is to go around
manually editing RCS files :)



HTH,
Rob Helmer
Namodn


On Fri, Aug 16, 2002 at 10:47:29AM +1000, Tehn Yit Chin wrote:
> Thanks for the info. I did mean the CVS binary corrupting.
> 
> It is good the hear that the file can be salvage by hand if required. Would
> it be just as easy if the file is a binary?
> 
> -----Original Message-----
> From: address@hidden [mailto:address@hidden Behalf Of
> Rob Helmer
> Sent: Friday, August 16, 2002 10:36 AM
> To: address@hidden
> Subject: Re: CVS corruption
> 
> 
> Hello,
> 
> 
> Well, if files in the repository are corrupted, it will not help to
> reinstall CVS. You'll need to try to salvage them somehow, or restore
> them from backup.
> 
> If you mean the CVS binary or installation is somehow corrupted, remember
> that every file in the repository is an RCS file, so you can access the
> file with RCS as well as CVS ( you could even put a file together
> by hand if you wanted, the format isn't difficult to parse ).
> 
> 
> 
> HTH,
> Rob Helmer
> 
> 
> On Fri, Aug 16, 2002 at 08:45:12AM +1000, Tehn Yit Chin wrote:
> > Hi all,
> >
> > If CVS gets corrupted, can the files in the repository be accessed without
> > reinstalling CVS?
> >
> > thanks,
> > Tehn Yit Chin
> >
> > ====================================================================
> > Tehn Yit Chin                   mb: +61 418 139 181
> > MILLISON TECHNOLOGY Pty. Ltd.   ph: +61 3 8793 9500
> > Electronics Design Services     fx: +61 3 9798 7633
> > http://www.millison.com.au      mailto:address@hidden
> > ====================================================================
> >
> >
> >
> > _______________________________________________
> > Info-cvs mailing list
> > address@hidden
> > http://mail.gnu.org/mailman/listinfo/info-cvs
> >
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 
> 
> 
> _______________________________________________
> Info-cvs mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/info-cvs
> 




reply via email to

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