comparison mercurial/bundlerepo.py @ 49972:1bd33932713d

branching: merge with stable
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 31 Jan 2023 11:41:59 +0100
parents ff7134e03629 84680c003d44
children 562f7da122b5
comparison
equal deleted inserted replaced
49967:5698c5eee12b 49972:1bd33932713d
531 # to this new type and initialize the bundle-specific bits of it. 531 # to this new type and initialize the bundle-specific bits of it.
532 532
533 try: 533 try:
534 repo = localrepo.instance(ui, repopath, create=False) 534 repo = localrepo.instance(ui, repopath, create=False)
535 tempparent = None 535 tempparent = None
536 except error.RequirementError:
537 raise # no fallback if the backing repo is unsupported
536 except error.RepoError: 538 except error.RepoError:
537 tempparent = pycompat.mkdtemp() 539 tempparent = pycompat.mkdtemp()
538 try: 540 try:
539 repo = localrepo.instance(ui, tempparent, create=True) 541 repo = localrepo.instance(ui, tempparent, create=True)
540 except Exception: 542 except Exception: