Merge lp:~gustav-hartvigsson/brz/fix-integration-docs into lp:brz

Proposed by Gustav Hartvigsson
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: 7530
Merge reported by: The Breezy Bot
Merged at revision: not available
Proposed branch: lp:~gustav-hartvigsson/brz/fix-integration-docs
Merge into: lp:brz
Diff against target: 22 lines (+12/-0)
1 file modified
doc/developers/integration.txt (+12/-0)
To merge this branch: bzr merge lp:~gustav-hartvigsson/brz/fix-integration-docs
Reviewer Review Type Date Requested Status
Jelmer Vernooij Approve
Review via email: mp+396094@code.launchpad.net

Commit message

Mention the need to load bzr or git modules in the docs.

Description of the change

Request for Comments

Fixed bug #1910860.

To post a comment you must log in.
7529. By Gustav Hartvigsson

Fixed documentation related to breezy integration.

* See bug #1910860.

Revision history for this message
Jelmer Vernooij (jelmer) :
7530. By Gustav Hartvigsson

Fixed wording about loading bzr or git medules.

* Made it clearer that the user should only import
  the modules that they need.

Revision history for this message
Jelmer Vernooij (jelmer) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'doc/developers/integration.txt'
--- doc/developers/integration.txt 2020-12-11 15:47:15 +0000
+++ doc/developers/integration.txt 2021-01-11 23:04:48 +0000
@@ -48,6 +48,18 @@
48This will send output through the current UIFactory; you can redirect this48This will send output through the current UIFactory; you can redirect this
49elsewhere through the parameters to `breezy.initialize`.49elsewhere through the parameters to `breezy.initialize`.
5050
51Load the ``bzr`` and/or ``git`` module(s)
52=========================================
53The code below have the prerequisite that you have imported either of
54the ``bzr`` or ``git`` module, or both::
55
56 import breezy.bzr
57 import breezy.git
58
59Depending on what the code is intended to do, the corresponding module or
60modules need to be imported (``bzr`` for Bazaar, and ``git`` for git), or some
61of the code will not work, and will cause errors like
62``breezy.errors.NotBranchError``.
5163
52Manipulating the Working Tree64Manipulating the Working Tree
53=============================65=============================

Subscribers

People subscribed via source and target branches