~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

(jelmer) Add WorkingTree.get_config_stack(). (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
261
261
    def supports_views(self):
262
262
        return self.views.supports_views()
263
263
 
 
264
    def get_config_stack(self):
 
265
        """Retrieve the config stack for this tree.
 
266
 
 
267
        :return: A ``bzrlib.config.Stack``
 
268
        """
 
269
        # For the moment, just provide the branch config stack.
 
270
        return self.branch.get_config_stack()
 
271
 
264
272
    @staticmethod
265
273
    def open(path=None, _unsupported=False):
266
274
        """Open an existing working tree at path.