Mercurial > hg
diff hgext/amend.py @ 38176:df5f6881cebd
unionrepo: fill in uncompressed length of revlog entry
It can be either -1 or a valid length, but shouldn't be None. IIUC, we can
simply trust the length retrieved from the revlog to be overlaid. I don't
bother thinking whether the compressed length can be copied as well. We'll
need to fix it later.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 26 May 2018 11:31:51 +0900 |
parents | 3e549546a6e9 |
children | c303d65d2e34 |