Committing Code
First, see what you need to commit by executing "cvs status" on your
directories. It may be easiest to pipe the result of the status
command to a file and execute "grep Status file.txt | grep -v Up-to-date" (on
Windows, copy output to a file and "find Status file.txt > file2.txt"
then "find /v Up-to-date file2.txt").
Commit early and often, with a few guidelines.
- Do not use linux cvs to commit code edited under Windows.
This causes linefeed headaches. If this happens, try the
script pc2u to get rid of Windows linefeeds.
- Does it compile under Windows?
- Does it compile under Linux?
- Did you write doxygen comments for public members?
- When you check out a clean version of the code, does
that compile under Linux and Windows?