Game Development Community

Tracking Code Changes

by Bryce · in General Discussion · 07/12/2009 (9:33 am) · 5 replies

Hello,

I had a thought yesterday...is there software that exists, specifically for Visual C++ 2008, that can compare two projects and tell you where they are different from eachother? I'm trying to find all of the little code changes I've made to document them.

Help is always appreciated!

#1
07/12/2009 (10:25 am)
For one thing, there's merge tools that do folder comparisons. WinMerge is free and one of the best tools for this on Windows. You take your project folder with the modifications and simply compare it to the original pristine copy of the project.

Then, there's version control tools. Basically no project or team is too small for this. If you do any level of programming/scripting, it's really best to use it. Subversion and Mercurial are two popular tools here with good support and integration. IIRC, at least for Subversion a free plugin for VC2008 exists. With version control, you could simply dump your log including the diffs and have a complete, commented changelog.

//Edit: typos
#2
07/12/2009 (11:11 am)
What Rene said.
#3
07/12/2009 (11:21 am)
Thank you Rene! WinMerge works great!
#4
07/12/2009 (11:25 am)

You're welcome.

And yes, WinMerge is really good. I'm missing it sourly on the Mac. Even the for-pay tools there don't come remotely close.