/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/tree.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:
21
21
 
22
22
import os
23
23
 
24
 
from brzlib.lazy_import import lazy_import
 
24
from breezy.lazy_import import lazy_import
25
25
lazy_import(globals(), """
26
26
import collections
27
27
 
28
 
from brzlib import (
 
28
from breezy import (
29
29
    conflicts as _mod_conflicts,
30
30
    debug,
31
31
    delta,
37
37
    rules,
38
38
    trace,
39
39
    )
40
 
from brzlib.i18n import gettext
 
40
from breezy.i18n import gettext
41
41
""")
42
42
 
43
 
from brzlib.decorators import needs_read_lock
44
 
from brzlib.inter import InterObject
45
 
from brzlib.symbol_versioning import (
 
43
from breezy.decorators import needs_read_lock
 
44
from breezy.inter import InterObject
 
45
from breezy.symbol_versioning import (
46
46
    deprecated_in,
47
47
    deprecated_method,
48
48
    )
114
114
    def conflicts(self):
115
115
        """Get a list of the conflicts in the tree.
116
116
 
117
 
        Each conflict is an instance of brzlib.conflicts.Conflict.
 
117
        Each conflict is an instance of breezy.conflicts.Conflict.
118
118
        """
119
119
        return _mod_conflicts.ConflictList()
120
120
 
434
434
        raise NotImplementedError(self.annotate_iter)
435
435
 
436
436
    def _get_plan_merge_data(self, file_id, other, base):
437
 
        from brzlib import versionedfile
 
437
        from breezy import versionedfile
438
438
        vf = versionedfile._PlanMergeVersionedFile(file_id)
439
439
        last_revision_a = self._get_file_revision(file_id, vf, 'this:')
440
440
        last_revision_b = other._get_file_revision(file_id, vf, 'other:')
552
552
    def lock_read(self):
553
553
        """Lock this tree for multiple read only operations.
554
554
 
555
 
        :return: A brzlib.lock.LogicalLockResult.
 
555
        :return: A breezy.lock.LogicalLockResult.
556
556
        """
557
557
        pass
558
558
 
976
976
    Its instances have methods like 'compare' and contain references to the
977
977
    source and target trees these operations are to be carried out on.
978
978
 
979
 
    Clients of brzlib should not need to use InterTree directly, rather they
 
979
    Clients of breezy should not need to use InterTree directly, rather they
980
980
    should use the convenience methods on Tree such as 'Tree.compare()' which
981
981
    will pass through to InterTree as appropriate.
982
982
    """