The simple question is: how can you use a source code management system to find bugs? First of start by using Mercurial (As you might know: always try to use distributed source code management systems :-))And then install the bisect extension. It is very similar to the version in GIT.

The Basic idea is the following. Take a bug free revision and a revision which has a bug in it. Then use bisect to get a revision in the middle. Test this revision and look if it is bug free or not. Then do a bisect in the higher or lower half. And so on...Until you find the revision in which the bug appeared. Pretty neat he?

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by Thijs Metsch