Return-Path: Delivered-To: apmail-subversion-users-archive@minotaur.apache.org Received: (qmail 92529 invoked from network); 11 Jan 2011 14:06:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jan 2011 14:06:21 -0000 Received: (qmail 70169 invoked by uid 500); 11 Jan 2011 14:06:20 -0000 Delivered-To: apmail-subversion-users-archive@subversion.apache.org Received: (qmail 70067 invoked by uid 500); 11 Jan 2011 14:06:18 -0000 Mailing-List: contact users-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@subversion.apache.org Received: (qmail 70048 invoked by uid 99); 11 Jan 2011 14:06:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 14:06:17 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [80.67.18.43] (HELO smtprelay01.ispgateway.de) (80.67.18.43) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Jan 2011 14:06:11 +0000 Received: from [70.253.66.177] (helo=[192.168.7.75]) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Pcer7-0006GZ-Iu; Tue, 11 Jan 2011 15:05:49 +0100 Subject: Re: How to get svn-bisect? Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Ryan Schmidt In-Reply-To: <4D2C5E45.6040500@gmail.com> Date: Tue, 11 Jan 2011 08:05:46 -0600 Cc: users@subversion.apache.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <4D2C5E45.6040500@gmail.com> To: Les Mikesell X-Mailer: Apple Mail (2.1082) X-Df-Sender: 368818 On Jan 11, 2011, at 07:42, Les Mikesell wrote: > On 1/11/11 1:09 AM, Ryan Schmidt wrote: >> Subversion does not include a program called "svn-bisect". For those = of us not familiar with git, perhaps you could explain what git-bisect = does, then we can tell you if there is equivalent functionality = available in Subversion. >>=20 >> Alternately, a Google search shows me others have written tools = called "svn-bisect" which may do what you want: >>=20 >> http://www.google.com/search?q=3Dsvn-bisect >>=20 >=20 > I read a few of the links out of curiosity - this one expains what it = does and why you would want it: > http://blogs.atlassian.com/developer/2009/01/git_bisect.html >=20 > Basically you give it a good and bad revision and a test to run and it = finds the commit that broke things with a binary search. Of course if = you were using something like Hudson doing continuous builds for you, = you'd already know... Yup, that's what I figured it would do. A couple days ago I manually bisected a problem in an open source = project I've been involved with. There is no test suite, and I supposed = it would have taken me longer to figure out how to write a test for the = problem "the entire window is purple" than to just manually build and = run a few revisions. In the end, the revision I identified unfortunately = changed at least a dozen things in the code -- including refactoring = existing code, adding new code, and even whitespace changes (groan) -- = so that hasn't been totally helpful in tracking down the problem yet. = Let it be yet another repeat of the lesson to commit the smallest unit = of work possible. It's not like the repository is going to run out of = revisions! :)