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