Rev 6511: Add a reminder in the docstring that local config stores are unique by process. in file:///home/vila/src/bzr/bugs/832042-shared-stores/
Vincent Ladeuil
v.ladeuil+lp at free.fr
Thu Aug 23 09:29:46 UTC 2012
At file:///home/vila/src/bzr/bugs/832042-shared-stores/
------------------------------------------------------------
revno: 6511
revision-id: v.ladeuil+lp at free.fr-20120823092945-gie7clxjosqa5tnf
parent: v.ladeuil+lp at free.fr-20120803142305-nlinjc2kc8zl9jdo
committer: Vincent Ladeuil <v.ladeuil+lp at free.fr>
branch nick: 832042-shared-stores
timestamp: Thu 2012-08-23 11:29:45 +0200
message:
Add a reminder in the docstring that local config stores are unique by process.
-------------- next part --------------
=== modified file 'bzrlib/config.py'
--- a/bzrlib/config.py 2012-08-03 14:23:05 +0000
+++ b/bzrlib/config.py 2012-08-23 09:29:45 +0000
@@ -3384,6 +3384,10 @@
# on the relevant parts of the API that needs testing -- vila 20110503 (based
# on a poolie's remark)
class GlobalStore(LockableIniFileStore):
+ "A config store for global options.
+
+ There is a single GlobalStore for a given process.
+ """
def __init__(self, possible_transports=None):
t = transport.get_transport_from_path(
@@ -3393,6 +3397,10 @@
class LocationStore(LockableIniFileStore):
+ "A config store for global options.
+
+ There is a single GlobalStore for a given process.
+ """
def __init__(self, possible_transports=None):
t = transport.get_transport_from_path(
@@ -3402,6 +3410,10 @@
class BranchStore(TransportIniFileStore):
+ "A config store for branch options.
+
+ There is a single BranchStore for a given branch.
+ """
def __init__(self, branch):
super(BranchStore, self).__init__(branch.control_transport,
More information about the bazaar-commits
mailing list