You could delete the bad revision and check in the correct file on a branch. That gives you all the correct versions in your history, but perhaps not in the order you want.
Or you could checkout each successive version and check each one into a new RCS directory, substituting the correct file as needed (basically rebuild the history from scratch). Use -d
to restore the original date of each checkin, and -w
to restore the original author name.
The way RCS stores its information (in a plain file called RCS/filename,v
) is straightforward enough that you can just copy filename,v
from one RCS
directory to another.
(You're still using RCS? Really? Even the RCS sources are maintained in Git.)