You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tech Geek <te...@gmail.com> on 2011/01/10 20:39:21 UTC

How to get svn-bisect?

We are using svn, version 1.6.12 (r955767) on a Linux based machine (SVN
Server) and use TortoiseSVN as clients. However, I do not see command
svn-bisect on both of them. How can I get svn-bisect just like there is
git-bisect?

Re: How to get svn-bisect?

Posted by Tech Geek <te...@gmail.com>.
I would like to point out to guys on this list who may be looking for the
svn-bisect tool (just like I was) that it is being included in the next
release of Debian [1] and in the backported version of Debian [2].

Also see [3] if you are using a Linux distribution that does not include the
svn-bisect by default.

[1] http://packages.debian.org/squeeze/subversion-tools

[2] http://packages.debian.org/lenny-backports/subversion-tools

[3] http://search.cpan.org/~infinoid/App-SVN-Bisect-1.1/bin/svn-bisect

Re: How to get svn-bisect?

Posted by Ryan Schmidt <su...@ryandesign.com>.
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.
>> 
>> Alternately, a Google search shows me others have written tools called "svn-bisect" which may do what you want:
>> 
>> http://www.google.com/search?q=svn-bisect
>> 
> 
> 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
> 
> 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! :)




Re: How to get svn-bisect?

Posted by Les Mikesell <le...@gmail.com>.
On 1/11/11 1:09 AM, Ryan Schmidt wrote:
> On Jan 10, 2011, at 13:39, Tech Geek wrote:
>
>> We are using svn, version 1.6.12 (r955767) on a Linux based machine (SVN Server) and use TortoiseSVN as clients. However, I do not see command svn-bisect on both of them. How can I get svn-bisect just like there is git-bisect?
>
> 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.
>
> Alternately, a Google search shows me others have written tools called "svn-bisect" which may do what you want:
>
> http://www.google.com/search?q=svn-bisect
>
>
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

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...

-- 
   Les Mikesell
    lesmikesell@gmail.com

Re: How to get svn-bisect?

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 10, 2011, at 13:39, Tech Geek wrote:

> We are using svn, version 1.6.12 (r955767) on a Linux based machine (SVN Server) and use TortoiseSVN as clients. However, I do not see command svn-bisect on both of them. How can I get svn-bisect just like there is git-bisect?

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.

Alternately, a Google search shows me others have written tools called "svn-bisect" which may do what you want:

http://www.google.com/search?q=svn-bisect