/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 bzrlib/transform.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
                           ExistingLimbo, ImmortalLimbo, NoFinalPath,
51
51
                           UnableCreateSymlink)
52
52
from bzrlib.filters import filtered_output_bytes, ContentFilterContext
 
53
from bzrlib.mutabletree import MutableTree
53
54
from bzrlib.osutils import (
54
55
    delete_any,
55
56
    file_kind,
57
58
    pathjoin,
58
59
    sha_file,
59
60
    splitpath,
60
 
    supports_executable,
61
61
    )
62
62
from bzrlib.progress import ProgressPhase
63
63
from bzrlib.symbol_versioning import (
156
156
        """
157
157
        if self._tree is None:
158
158
            return
 
159
        for hook in MutableTree.hooks['post_transform']:
 
160
            hook(self._tree, self)
159
161
        self._tree.unlock()
160
162
        self._tree = None
161
163
 
1722
1724
            calculating one.
1723
1725
        :param _mover: Supply an alternate FileMover, for testing
1724
1726
        """
 
1727
        for hook in MutableTree.hooks['pre_transform']:
 
1728
            hook(self._tree, self)
1725
1729
        if not no_conflicts:
1726
1730
            self._check_malformed()
1727
1731
        child_pb = ui.ui_factory.nested_progress_bar()