overlayrevlog: handle root commits correctly
Previously, we'd try to access commit.parents[0] and fail. Now, check for commit.parents being empty and return what Mercurial thinks is a repository root in that case.
tests/test-incoming.t
100755 → 100644
Please register or sign in to comment