File locked in rcs error 

Newsgroups: comp.unix.questions,comp.unix.programmer,comp.emacs

Have you ever experience problems with rcs command?

when I issue rlog t-chp-ds.tex, I get

rlog: RCS/t-chp-ds.tex,v: bad diff output line:
rlog aborted

This is the second time that I met with error in rcs version control. I use the emacs built-in tools to do the version control. I couldn't notice any sign of error until it is too late. Neither my yesterday's backup nor last week's can recover the error. The 3rd level backup was 10 days ago, which lacks 5 versions.

Tracking the changes between the versions is important to me. Now I have to find the hard way to rescue my version history. I tried to manually twist the .tex,v file to get rid of errors but failed. I thought of trying to use patch to rebuild the previous versions, but it doesn't seems to work.

I appreciate any tips or comments. Thanks

File locked in rcs error 

> Have you ever experience problems with rcs command?
[...]
> This is the second time that I met with error in rcs version
> control. [...] I tried to manually twist the .tex,v file to get
> rid of errors but failed.
[...]

Problem solved.

FYI:

  • I was trying to recover using Emacs yesterday. Today I use vi instead, and it works.
  • The errors are the same for all 3 files (4 places): Some extra lines somehow get inserted into the version control file. (Don't know whether it is caused by ci or Emacs). Removing those lines solve the problem.