diff 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
line wrap: on
line diff
--- a/mercurial/bundlerepo.py	Thu Apr 29 22:01:04 2021 +0200
+++ b/mercurial/bundlerepo.py	Tue Jan 31 11:41:59 2023 +0100
@@ -533,6 +533,8 @@
     try:
         repo = localrepo.instance(ui, repopath, create=False)
         tempparent = None
+    except error.RequirementError:
+        raise  # no fallback if the backing repo is unsupported
     except error.RepoError:
         tempparent = pycompat.mkdtemp()
         try: