/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/switch.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
# Original author: David Allouche
20
20
 
21
 
from brzlib import (
 
21
from breezy import (
22
22
    errors,
23
23
    lock,
24
24
    merge,
25
25
    revision
26
26
    )
27
 
from brzlib.branch import Branch
28
 
from brzlib.i18n import gettext
29
 
from brzlib.trace import note
 
27
from breezy.branch import Branch
 
28
from breezy.i18n import gettext
 
29
from breezy.trace import note
30
30
 
31
31
def _run_post_switch_hooks(control_dir, to_branch, force, revision_id):
32
 
    from brzlib.branch import SwitchHookParams
 
32
    from breezy.branch import SwitchHookParams
33
33
    hooks = Branch.hooks['post_switch']
34
34
    if not hooks:
35
35
        return