~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Jelmer Vernooij
  • Date: 2011-05-08 11:20:31 UTC
  • mto: This revision was merged to the branch mainline in revision 5844.
  • Revision ID: jelmer@samba.org-20110508112031-dqa1cw1gjhqsj2zr
Move vf-specific gather_stats bits to vf_repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
543
543
                first_revision.timezone)
544
544
            result['latestrev'] = (last_revision.timestamp,
545
545
                last_revision.timezone)
546
 
 
547
 
        # now gather global repository information
548
 
        # XXX: This is available for many repos regardless of listability.
549
 
        if self.user_transport.listable():
550
 
            # XXX: do we want to __define len__() ?
551
 
            # Maybe the versionedfiles object should provide a different
552
 
            # method to get the number of keys.
553
 
            result['revisions'] = len(self.revisions.keys())
554
 
            # result['size'] = t
555
546
        return result
556
547
 
557
548
    def find_branches(self, using=False):