Day three – marking bugs as fixed from within Bazaar

Bug-branch links are a quick and easy way to show that a branch of code contains a fix for a certain bug.

Perhaps the coolest aspect of bug-branch links is that you can mark a bug as Fix Committed right at the moment you make the commit in Bazaar. It’s simple:

$ bzr commit -m "This fixes the problem" --fixes lp:1234

That part after the commit message — “--fixes lp:1234” — tells Bazaar that your commit fixes bug 1234 in Launchpad.

The next time you push the branch to Launchpad, it’ll update the bug report’s status to Fix Committed.

Leave a Reply