Getting a fix in -- first try

Martin Pool mbp at canonical.com
Sat Jul 17 19:10:05 BST 2010


On 17 July 2010 19:54, Anteru <newsgroups at catchall.shelter13.net> wrote:
> Hi,
>
> I'm using bzr since quite some time, and I wanted to help the project by
> fixing some small bugs. To get started, I've picked bug #234708, and
> tried to follow the guide at
> http://doc.bazaar.canonical.com/bzr.dev/developers/contribution-quickstart.html

Hi, thanks very much for your help.

> Well, getting bzr locally etc. was no problem, and I could quickly find
> the place where a check should be place. That's no problem. However,
> when I added a test, I couldn't get it to be run by selftest. I.e. I've
> added a test, but if I run bzr selftest -v, then I don't see it being
> run. There's also another test in TestDiff
> (bzrlib/tests/blackbox/test_diff.py) which is not run (right above where
> I added my test.) What did I miss? How do I properly add a test?

I don't know why it doesn't run.  When I run

./bzr selftest -s bb.test_diff -v

then I see your test run.  Perhaps you forgot to say './' and it was
running the installed copy of bzr rather than the one in your working
directory?

> Finally, I've proposed to merge my branch with Bazaar:
> https://code.launchpad.net/~anteru/bzr/234708-diff. Is this correct?
> Should I have done something more?

That's correct, nothing more is needed to get reviewed.  Of course if
you want to ask about it you're welcome to post here. I'll reply about
the actual fix there.

-- 
Martin



More information about the bazaar mailing list