/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/en/tutorials/tutorial.txt

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-12-04 07:10:16 UTC
  • mfrom: (4859.1.2 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20091204071016-eo2bjtfv36jlzl5m
(igc) Add bug fixing to the tutorial (Patrick Regan)

Show diffs side-by-side

added added

removed removed

Lines of Context:
330
330
commit message when you have finished. If you would like parts to be
331
331
included in the message you can copy and paste them above the separator.
332
332
 
 
333
Marking bugs as fixed
 
334
---------------------
 
335
 
 
336
Many changes to a project are as a result of fixing bugs. Bazaar can keep
 
337
metadata about bugs you fixed when you commit them. To do this you use the
 
338
``--fixes`` option. This option takes an argument that looks like this::
 
339
 
 
340
    % bzr commit --fixes <tracker>:<id>
 
341
 
 
342
Where ``<tracker>`` is an identifier for a bug tracker and ``<id>`` is an
 
343
identifier for a bug that is tracked in that bug tracker. ``<id>`` is usually
 
344
a number. Bazaar already knows about a few popular bug trackers. They are 
 
345
bugs.launchpad.net, bugs.debian.org, and bugzilla.gnome.org. These trackers
 
346
have their own identifiers: lp, deb, and gnome respectively. For example,
 
347
if you made a change to fix the bug #1234 on bugs.launchpad.net, you would
 
348
use the following command to commit your fix::
 
349
 
 
350
    % bzr commit -m "fixed my first bug" --fixes lp:1234
 
351
 
 
352
For more information on this topic or for information on how to configure
 
353
other bug trackers please read `Bug Tracker Settings`_.
 
354
 
 
355
.. _Bug Tracker Settings: ../user-reference/index.html#bug-tracker-settings
 
356
 
333
357
Selective commit
334
358
----------------
335
359