Rev 6078: Add some basic docstrings to config stacks. in file:///home/vila/src/bzr/experimental/missing-stacks/

Vincent Ladeuil v.ladeuil+lp at free.fr
Mon Aug 22 07:53:15 UTC 2011


At file:///home/vila/src/bzr/experimental/missing-stacks/

------------------------------------------------------------
revno: 6078
revision-id: v.ladeuil+lp at free.fr-20110822075315-h7hnp4l2i06og9ja
parent: v.ladeuil+lp at free.fr-20110817161126-idg5pt6n7zm9e0ok
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: missing-stacks
timestamp: Mon 2011-08-22 09:53:15 +0200
message:
  Add some basic docstrings to config stacks.
-------------- next part --------------
=== modified file 'bzrlib/config.py'
--- a/bzrlib/config.py	2011-08-17 16:11:26 +0000
+++ b/bzrlib/config.py	2011-08-22 07:53:15 +0000
@@ -2999,6 +2999,7 @@
 
 
 class GlobalStack(_CompatibleStack):
+    """Global options only stack."""
 
     def __init__(self):
         # Get a GlobalStore
@@ -3007,6 +3008,7 @@
 
 
 class LocationStack(_CompatibleStack):
+    """Per-location options falling back to global options stack."""
 
     def __init__(self, location):
         """Make a new stack for a location and global configuration.
@@ -3020,6 +3022,7 @@
 
 
 class BranchStack(_CompatibleStack):
+    """Per-location options falling back to branch then global options stack."""
 
     def __init__(self, branch):
         bstore = BranchStore(branch)
@@ -3033,6 +3036,7 @@
 
 
 class RemoteControlStack(_CompatibleStack):
+    """Remote control-only options stack."""
 
     def __init__(self, bzrdir):
         cstore = ControlStore(bzrdir)
@@ -3043,6 +3047,7 @@
 
 
 class RemoteBranchStack(_CompatibleStack):
+    """Remote branch-only options stack."""
 
     def __init__(self, branch):
         bstore = BranchStore(branch)



More information about the bazaar-commits mailing list