Here's a quick tip of the day.

When you are committing code that fixes a bug on Launchpad, it's extremely useful to use the --fixes option when committing. When you use this option, when you push your branch to Launchpad, the bug report automatically will show *your* pushed branch as being linked to the bug report. Got all that?

In other words, let's say I've got a branch called "bugs" on my laptop, and I've just edited and saved a file which contains a fix for bug #999999 on Launchpad. Here is what I do to automatically have my bugs branch linked with the bug report on Launchpad:

$> bzr commit --fixes=lp:999999 -m "Fix for Bug #999999"
$> bzr push

Cheers,

Jay

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to