~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-29 15:57:16 UTC
  • mfrom: (3427.5.9 dep_warnings)
  • Revision ID: pqm@pqm.ubuntu.com-20080529155716-0w3kic8lioa63231
(jam) Enable Deprecation Warnings when running -Werror and when
        running selftest

Show diffs side-by-side

added added

removed removed

Lines of Context:
2656
2656
        import bzrlib.benchmarks as benchmarks
2657
2657
        from bzrlib.benchmarks import tree_creator
2658
2658
 
 
2659
        # Make deprecation warnings visible, unless -Werror is set
 
2660
        symbol_versioning.activate_deprecation_warnings(override=False)
 
2661
 
2659
2662
        if cache_dir is not None:
2660
2663
            tree_creator.TreeCreator.CACHE_ROOT = osutils.abspath(cache_dir)
2661
2664
        if not list_only: