--- a/mercurial/streamclone.py Tue Jan 18 10:32:11 2022 +0100
+++ b/mercurial/streamclone.py Mon Jan 24 11:49:06 2022 +0100
@@ -104,7 +104,7 @@
streamreqs = set(streamreqs.split(b','))
# Server requires something we don't support. Bail.
- missingreqs = streamreqs - repo.supportedformats
+ missingreqs = streamreqs - repo.supported
if missingreqs:
pullop.repo.ui.warn(
_(
@@ -481,7 +481,7 @@
)
filecount, bytecount, requirements = readbundle1header(fp)
- missingreqs = requirements - repo.supportedformats
+ missingreqs = requirements - repo.supported
if missingreqs:
raise error.Abort(
_(b'unable to apply stream clone: unsupported format: %s')