/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/_annotator_pyx.pyx

  • 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:
55
55
        PyObject *, PyObject *, int opid)
56
56
 
57
57
 
58
 
from brzlib import _annotator_py
 
58
from breezy import _annotator_py
59
59
 
60
60
 
61
61
cdef int _check_annotations_are_lists(annotations,
174
174
    _check_annotations_are_lists(annotations, parent_annotations)
175
175
    par_list = <PyListObject *>parent_annotations
176
176
    ann_list = <PyListObject *>annotations
177
 
    # For NEWS and brzlib/builtins.py, over 99% of the lines are simply copied
 
177
    # For NEWS and breezy/builtins.py, over 99% of the lines are simply copied
178
178
    # across from the parent entry. So this routine is heavily optimized for
179
179
    # that. Would be interesting if we could use memcpy() but we have to incref
180
180
    # and decref
269
269
        """
270
270
        cdef Py_ssize_t pos, num_lines
271
271
 
272
 
        from brzlib import annotate
 
272
        from breezy import annotate
273
273
 
274
274
        custom_tiebreaker = annotate._break_annotation_tie
275
275
        annotations, lines = self.annotate(key)