Rev 5285: Document bzrlib.branch.Branch.get_config. in http://bazaar.launchpad.net/~lifeless/bzr/docs

Robert Collins robertc at robertcollins.net
Mon Jun 7 21:25:21 BST 2010


At http://bazaar.launchpad.net/~lifeless/bzr/docs

------------------------------------------------------------
revno: 5285
revision-id: robertc at robertcollins.net-20100607202505-yp5g7e2lvnph06hq
parent: pqm at pqm.ubuntu.com-20100607023804-g0tttwnphcv00q2o
committer: Robert Collins <robertc at robertcollins.net>
branch nick: docs
timestamp: Tue 2010-06-08 08:25:05 +1200
message:
  Document bzrlib.branch.Branch.get_config.
=== modified file 'bzrlib/branch.py'
--- a/bzrlib/branch.py	2010-05-25 17:27:52 +0000
+++ b/bzrlib/branch.py	2010-06-07 20:25:05 +0000
@@ -197,6 +197,13 @@
         return self.supports_tags() and self.tags.get_tag_dict()
 
     def get_config(self):
+        """Get a bzrlib.config.BranchConfig for this Branch.
+
+        This can then be used to get and set configuration options for the
+        branch.
+
+        :return: A bzrlib.config.BranchConfig.
+        """
         return BranchConfig(self)
 
     def _get_config(self):




More information about the bazaar-commits mailing list