1505
1505
# We need to accumulate additional repositories here, to pass them in
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.
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