~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Vincent Ladeuil
  • Date: 2012-02-14 17:22:37 UTC
  • mfrom: (6466 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6468.
  • Revision ID: v.ladeuil+lp@free.fr-20120214172237-7dv7er3n4uy8d5m4
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
1224
1224
            return
1225
1225
        try:
1226
1226
            if branch is None:
1227
 
                conf = config.GlobalConfig()
 
1227
                conf = config.GlobalStack()
1228
1228
            else:
1229
 
                conf = branch.get_config()
1230
 
            if conf.suppress_warning('format_deprecation'):
 
1229
                conf = branch.get_config_stack()
 
1230
            if 'format_deprecation' in conf.get('suppress_warnings'):
1231
1231
                return
1232
1232
            warning("Format %s for %s is deprecated -"
1233
1233
                    " please use 'bzr upgrade' to get better performance"