Re: Handy Addition to bash scripts for Divmod

Jean-Paul Calderone <[email protected]> Sun, 18 May 2008 22:28:02 -0400
Newsgroups gmane.comp.python.quotient.dev
Message-ID <20080519022802.4714.235771788.divmod.quotient.558@ohm>
On Fri, 16 May 2008 15:48:01 -0400, David Giffin <[email protected]> wrote:
>Hi there,
>
>I have an addition to Divmod/trunk/Combinator/bash/completion that I have
>been using for a while. It provides the "cdbranch" command to change
>directory to the various branches that I have checked out.
>
> [snip]

This is pretty cool.  I definitely have a very common usage pattern where
I run `whbranch=C2=B4 and then change directory based on the resulting info=
rmation.

Are you interested in supplying tests for this code?  A lot of Combinator
doesn't have test coverage right now, but that's because when it was initia=
lly
developed it was incorrectly believe that tests weren't reasonably possible.
We're trying to improve the overall test coverage, and as part of this, all
additions or modifications should include full test coverage.

Also, could you open a ticket for this and attach the code?  We tend to for=
get
about things that aren't in the issue tracker. :)

The tracker is at <http://divmod.org/trac/>.

Jean-Paul