diff mercurial/interfaces/repository.py @ 51828:e1fd715df257

manifest: allow skipping valid_bases argument to `read_any_fast_delta` In some case it make sens to just want a delta. So we update the API to support this.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 01 Aug 2024 13:40:46 +0200
parents ca4208713875
children a891347058e7
line wrap: on
line diff
--- a/mercurial/interfaces/repository.py	Thu Aug 01 05:35:06 2024 +0200
+++ b/mercurial/interfaces/repository.py	Thu Aug 01 13:40:46 2024 +0200
@@ -1187,7 +1187,7 @@
         The returned object conforms to the ``imanifestdict`` interface.
         """
 
-    def read_any_fast_delta(valid_bases, *, shallow=False):
+    def read_any_fast_delta(valid_bases=None, *, shallow=False):
         """read some manifest information as fast if possible
 
         This might return a "delta", a manifest object containing only file