diff -r 0d97530eb535 -r 73cf21b2e8a6 mercurial/repository.py --- a/mercurial/repository.py Fri Aug 10 14:44:50 2018 -0700 +++ b/mercurial/repository.py Fri Aug 10 15:01:06 2018 -0700 @@ -1023,6 +1023,15 @@ interface. """ + def getstorage(tree): + """Retrieve an interface to storage for a particular tree. + + If ``tree`` is the empty bytestring, storage for the root manifest will + be returned. Otherwise storage for a tree manifest is returned. + + TODO formalize interface for returned object. + """ + def clearcaches(): """Clear caches associated with this collection."""