CVS allows you to run processes (like, say, Jalopy) when checking code in. Set this process up, create a team-agreed-upon standard style of formatting code, and then whenever you check code in, it will automatically be reformatted to project standards, no matter how it was coded.
If you'd like to know the steps to do this, I'll go look up the reference I used to get it done for our project a few months back. Let me know.