/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/bisect.py

  • Committer: Jelmer Vernooij
  • Date: 2018-07-07 19:27:38 UTC
  • mto: (7027.4.10 python3-blackbox)
  • mto: This revision was merged to the branch mainline in revision 7038.
  • Revision ID: jelmer@jelmer.uk-20180707192738-cbt5f28lbd3lx4td
Add some more bees; support writing both bytes and unicode strings in build_tree_contents.

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
        if spread < 2:
173
173
            middle_index = 0
174
174
        else:
175
 
            middle_index = (spread / 2) - 1
 
175
            middle_index = (spread // 2) - 1
176
176
 
177
177
        if len(between_revs) > 0:
178
178
            self._middle_revid = between_revs[middle_index]