/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/status.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 18:10:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521181028-zn04pdfw0od9hfj3
Rename brzlib => breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
import sys
20
20
 
21
 
from brzlib import (
 
21
from breezy import (
22
22
    delta as _mod_delta,
23
23
    hooks as _mod_hooks,
24
24
    log,
26
26
    tsort,
27
27
    revision as _mod_revision,
28
28
    )
29
 
import brzlib.errors as errors
30
 
from brzlib.trace import mutter, warning
 
29
import breezy.errors as errors
 
30
from breezy.trace import mutter, warning
31
31
 
32
32
# TODO: when showing single-line logs, truncate to the width of the terminal
33
33
# if known, but only if really going to the terminal (not into a file)
128
128
    """
129
129
    if show_unchanged is not None:
130
130
        warn("show_tree_status with show_unchanged has been deprecated "
131
 
             "since brzlib 0.9", DeprecationWarning, stacklevel=2)
 
131
             "since breezy 0.9", DeprecationWarning, stacklevel=2)
132
132
 
133
133
    if to_file is None:
134
134
        to_file = sys.stdout
386
386
        These are all empty initially, because by default nothing should get
387
387
        notified.
388
388
        """
389
 
        _mod_hooks.Hooks.__init__(self, "brzlib.status", "hooks")
 
389
        _mod_hooks.Hooks.__init__(self, "breezy.status", "hooks")
390
390
        self.add_hook('post_status',
391
391
            "Called with argument StatusHookParams after Bazaar has "
392
392
            "displayed the status. StatusHookParams has the attributes "