Working on three different computers at two different locations, on projects that are in subversion, I once in a while forget to check in stuff at one location, so that I cannot work on the latest code, when I want to continue working on the project at another location.
I am sure other have had similar problems.
What are some things I can do to avoid this issue? Tools that help? Notifications I can set up?
I use Visual Studio 2008 and TortoiseSVN on Windows7 PCs.
Use a tool like VisualSVN to show which files are modified in the Solution Explorer, so that you don't forget to commit them:
A simple solution is to right-click at the top level of the project and then click "commit". Tortoise shows you the entire project, including "non-versioned" files.
This takes a little discipline when you setup your source tree. For example, if you mix binary output files with source code, it makes it more difficult. Also make sure you don't have any directories ignored that contain source code.
Daily builds.
A batch file (or equivalent) that checks out into a new directory and does a build (and in an ideal world runs unit tests) - if it doesn't build then you missed somethign.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With