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

Proposed by Gustav Hartvigsson
Status: Merged
Approved by: Jelmer Vernooij
Approved revision: no longer in the source branch.
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.
Revision history for this message
Jelmer Vernooij (jelmer) :
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