info-cvs
[Top][All Lists]
Advanced

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

Re: Problem finding lock


From: Denniston, Todd A CIV NAVSURFWARCENDIV Crane, Code 6067
Subject: Re: Problem finding lock
Date: Wed, 18 Jul 2007 11:12:15 -0500
User-agent: Thunderbird 1.5.0.12 (X11/20070509)

Simon Renshaw wrote:
I am using regular CVS 1.11.21 on the server and also used that client
to do the commit.

I restored a backup from the beginning of the month and the error is
gone.

And we don't see the directory when we do a checkout from within
Eclipse. Since this is what I wanted, problem solved.

But now I need to know how it got corrupted since we didn't touch the
code that was in that directory (not made by us).


Please tell us that either:
A) your folks had made no changes to the data in the whole repository since the backup was made.
OR
B) you only restored the subdirectories that had the problems.
And/OR
C) you made a new backup just before restoring.

:(

Now, if I want to run that script, I just need to remember where CVS is
installed.


On a Unix system you should be able to issue `which cvs` to find the cvs binary you are using. Note that if you are using one from a distribution, the contrib directory may be somewhere else, i.e., on fedora it is in /usr/share/cvs/contrib.
`locate contrib |grep -i cvs` might find it for you.

Simon


-----Original Message-----
From: Larry Jones [mailto:address@hidden Sent: 18 juillet, 2007 01:30
To: Simon Renshaw
Cc: cvs
Subject: Re: Problem finding lock

Simon Renshaw writes:
cvs [commit aborted]: mismatch in rcs file /usr/local/cvsroot/Castor
Model

Objects/castor-1.0.2/tests/xml/MasterTestSuite/sourcegenerator/Any/any.x
sd,v between deltas and deltatexts (0.1)

Are you perhaps using CVSNT rather than regular CVS?  I don't find any
trace of that error message in the CVS sources.

Any idea what I should try next?

Restoring that file from a backup -- the message pretty clearly
indicates that the repository file has been corrupted.  You may want to
try running the contrib/validate_repo (or contrib/check_cvs depending on
which release of CVS you have) script against your repository to see if
any other files are also damaged.  You should also try to figure out how
the file got corrupted so you can prevent future damage.

-Larry Jones

Hello, I'm wondering if you sell kegs of dynamite. -- Calvin




--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter




reply via email to

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