Búsqueda Binaria

It's a common developer practice to track down a bug by looking for the change that introduced it. This is most efficiently done by performing a binary search between the last known working commit and the first known broken commit in the commit history.

At each step of the binary search, the bisect method checks out the source code at the commit chosen by the search. The user then has to test to see if the software is working or not. If it is, the user performs a svn-bisect good, otherwise they do a svn-bisect bad, and the search proceeds accordingly.

Ejercicio 13.40.1   Haga un checkout del proyecto parse-eyapp en google-code. Utilize el método de la bisección con svn-bisect para averiguar en que versión del proyecto se introdujo la funcionalidad que comprueba el test t/73dynamicshiftreduceconflictresolution.t

Casiano Rodríguez León
Licencia de Creative Commons
Principios de Programación Imperativa, Funcional y Orientada a Objetos Una Introducción en Perl/Una Introducción a Perl
por Casiano Rodríguez León is licensed under a Creative Commons Reconocimiento 3.0 Unported License.

Permissions beyond the scope of this license may be available at http://campusvirtual.ull.es/ocw/course/view.php?id=43.
2012-06-19