mercurial/templates/gitweb/__init__.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Mon, 25 Sep 2023 12:14:38 +0200
changeset 51018 93a44c1ba0c6
parent 45324 f55c47f41b8e
permissions -rw-r--r--
revlog: adapt the `reading` check for `unionrepo` We cannot just rely on the length check for the `unionrepo` as the local revlog might be empty while the other revlog contains data. In addition, we need to also open the second revlog for reading when needed.