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

  • Committer: Jelmer Vernooij
  • Date: 2019-05-29 03:22:34 UTC
  • mfrom: (7303 work)
  • mto: This revision was merged to the branch mainline in revision 7306.
  • Revision ID: jelmer@jelmer.uk-20190529032234-mt3fuws8gq03tapi
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    the user an estimate of the amount of work pending for a fetch (push,
27
27
    pull, branch, checkout) operation.
28
28
    """
 
29
 
29
30
    def __init__(self):
30
31
        self.initialized = False
31
32
        self.current = 0
86
87
        self.current += count
87
88
        if self.current > self.max:
88
89
            self.max += self.key_count
89