Merge pull request #8853 from ThomasWaldmann/fix-todo

legacyremote: fix api versioning todo
This commit is contained in:
TW 2025-05-19 23:00:31 +02:00 committed by GitHub
commit c9083a3d07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -619,10 +619,7 @@ class LegacyRemoteRepository:
send_buffer()
self.ignore_responses |= set(waiting_for) # we lose order here
@api(
since=parse_version("1.0.0"),
v1_or_v2={"since": parse_version("2.0.0b8"), "previously": True}, # TODO fix version
)
@api(since=parse_version("1.0.0"), v1_or_v2={"since": parse_version("2.0.0b10"), "previously": True})
def open(self, path, create=False, lock_wait=None, lock=True, exclusive=False, v1_or_v2=False):
"""actual remoting is done via self.call in the @api decorator"""