Subversion is in the entry title, but these really apply to just about any source control being used for almost any type of project.
-
Update every time a build is successfully completed on the server to assure you are using the latest and your code still builds locally.
-
Check in as frequently as possible. Every 30 minutes is a good standard. Make sure to get an update before hand to assure a good build before checking in.
-
When making edits that cause *.sln file changes make sure to check them in immediately before adding code files or anything else.
-
Keep in mind the virtual “state” and “revision” mind set that source control is built around. It doesn’t work like the regular file structure, but pretends to act that way.
-
When the build is broken, everyone should STOP checking in code immediately until it is fixed. If need be everyone should participate in the fix.
-
Do NOT commit (check in) when the build is broken. This only compounds any prospective issues and possibly drags out the build resolution.
Technorati Tags: Source Control,Subversion,SourceSafe,CVS,Best Practices
del.icio.us Tags: Source Control,Subversion,SourceSafe,CVS,Best Practices