~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Martin Pool
  • Date: 2010-04-23 00:44:15 UTC
  • mto: This revision was merged to the branch mainline in revision 5189.
  • Revision ID: mbp@canonical.com-20100423004415-py8ozrtkjo6tphj2
Update more code to use user_transport when it should

Show diffs side-by-side

added added

removed removed

Lines of Context:
1476
1476
 
1477
1477
        # now gather global repository information
1478
1478
        # XXX: This is available for many repos regardless of listability.
1479
 
        if self.bzrdir.root_transport.listable():
 
1479
        if self.user_transport.listable():
1480
1480
            # XXX: do we want to __define len__() ?
1481
1481
            # Maybe the versionedfiles object should provide a different
1482
1482
            # method to get the number of keys.
1514
1514
 
1515
1515
        ret = []
1516
1516
        for branches, repository in bzrdir.BzrDir.find_bzrdirs(
1517
 
                self.bzrdir.root_transport, evaluate=Evaluator()):
 
1517
                self.user_transport, evaluate=Evaluator()):
1518
1518
            if branches is not None:
1519
1519
                ret.extend(branches)
1520
1520
            if not using and repository is not None: