Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

CVS server wrong backup restore

CVS server wrong backup restore

CVS server wrong backup restore

Hi at all, i've a problem.
Some days ago my cvs server falls down by hard disk problem. My last backup of cvs repository is dated 4 February 2005, but, from this date to fall down time i committed several files (and for some file i increased more than 1 revision). Now i restored my backup but i've a lot of files that have working-copy's revision greater than repository's version.
FOr example, my file "Foo.java" in the repository has version 1.24 on 04 February 2005, but my working copy has version 1.27 on 14 February.
CVS server deny me commit options!!!

The first solution i found was to hand-modify ".entries" file in CVS directory on my working copy, but there is problems for other developers!!!

Someone can help me?
I'm using CVS for NT version 1.11.13

THank you very much

RE: CVS server wrong backup restore

Hi cigno5e5,

Have you tried doing an update first? CVS should be able to handle this kind of situation quite well. Make sure you make a back up of your working directory before doing so, just in case CVS recognises that as a conflict and start merging your files.

Hope that helps,


RE: CVS server wrong backup restore

eclipse ide and wincvs both deny me the update options because they intercept the strange situation. Cvs can manage this scenario only if repository version is two or more revisions greater than working copy version.
Actually solution is perfomed by:
- on local machine backup working copy to temporary directory
- replace working copy with cvs "checkout" command
- restore local backup of working copy over the working copy yet restored
- commit changes

PS: after some studies we suspect that our backup software make errors in incremental backup of cvs directory.

RE: CVS server wrong backup restore

Hi cigno5e5,

That sounds good and thanks for sharing, but wouldn't you have to do it for all the developers who have some newer versions?



Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close