1505
1505
# We need to accumulate additional repositories here, to pass them in
1509
1511
# We will call fallback.unlock() when we transition to the unlocked
1510
1512
# state, so always add a lock here. If a caller passes us a locked
1511
1513
# repository, they are responsible for unlocking it later.
1514
1515
self._fallback_repositories.append(repository)
1515
1516
# If self._real_repository was parameterised already (e.g. because a
1516
1517
# _real_branch had its get_stacked_on_url method called), then the