What I would try is move your checked-out directory to another name, call it
dir.bak or something. Then try a checkout:
Code:
mv dir dir.bak
cvs co dir
That might work; you'll get what was committed and what wasn't and you can then try merging anything newer in
dir.bak with the content of
dir. You'd want to do that by looking in the
CVS/History file in
dir, perhaps comparing it with the same file in
dir.bak. You could do that by doing
cvs edit file in
dir then copying the newer file from
dir.bak once you've identified newer/older files (which will be a pain).
If you're feeling gutsy,
Code:
cd dir.bak
# get rid of the CVS directory, you don't want or need it
rm -rf CVS
# get back into dir
cd ../dir
# get every file editable
cvs edit *
# up one directory
cd ..
# copy every file from dir.bak to dir, keeping time stamps
cp -pr dir.bak dir
That'll copy the files to
dir then you can
Code:
cd dir
cvs commit -m "this is after the screw up"
and there you go.
Hope this helps some.