~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: John Arbash Meinel
  • Date: 2011-08-09 14:18:05 UTC
  • mto: (6015.9.8 2.4)
  • mto: This revision was merged to the branch mainline in revision 6066.
  • Revision ID: john@arbash-meinel.com-20110809141805-9lq771mvpsukl0pe
Catch a couple more cases that test tag fetching.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1505
1505
        # We need to accumulate additional repositories here, to pass them in
1506
1506
        # on various RPC's.
1507
1507
        #
1508
 
        # Make the check before we lock: this raises an exception.
1509
 
        self._check_fallback_repository(repository)
1510
1508
        if self.is_locked():
1511
1509
            # We will call fallback.unlock() when we transition to the unlocked
1512
1510
            # state, so always add a lock here. If a caller passes us a locked
1513
1511
            # repository, they are responsible for unlocking it later.
1514
1512
            repository.lock_read()
 
1513
        self._check_fallback_repository(repository)
1515
1514
        self._fallback_repositories.append(repository)
1516
1515
        # If self._real_repository was parameterised already (e.g. because a
1517
1516
        # _real_branch had its get_stacked_on_url method called), then the