Mercurial > hg
comparison mercurial/hgweb/wsgiheaders.py @ 48546:e91aa800ae5b
rhg: desambiguate status without decompressing filelog if possible
When status is unsure based on `stat()` and the dirstate if a file is clean
or modified, we need to compare it against the filelog.
This comparison can skip looking at contents if the lengths differ.
This changeset optimize this further to deduce what we can about the length
if the filelog without decompressing it or resolving deltas.
Differential Revision: https://phab.mercurial-scm.org/D11965
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Fri, 07 Jan 2022 14:40:21 +0100 |
parents | 6d3b67a837a6 |
children | 6000f5b25c9b |
comparison
equal
deleted
inserted
replaced
48545:5026a0d37526 | 48546:e91aa800ae5b |
---|