~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/add.py

  • Committer: Patch Queue Manager
  • Date: 2012-02-06 12:27:27 UTC
  • mfrom: (6449.6.7 bzr)
  • Revision ID: pqm@pqm.ubuntu.com-20120206122727-bq0phmt80bmlvvx7
(jelmer) Use config stacks in a few more places. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
            return False
83
83
        opt_name = 'add.maximum_file_size'
84
84
        if self._maxSize is None:
85
 
            # FIXME: We use the branch config as there is no tree config
86
 
            # -- vila 2011-12-16
87
 
            config = tree.branch.get_config_stack()
 
85
            config = tree.get_config_stack()
88
86
            self._maxSize = config.get(opt_name)
89
87
        if stat_value is None:
90
88
            file_size = os.path.getsize(path);