comparison hgext/win32mbcs.py @ 31856:0ab7f469d386

revlog: make "size" diverge from "rawsize" Previously, revlog.size equals to revlog.rawsize. However, the flag processor framework could make a difference - "size" could mean the length of len(revision(raw=False)), while "rawsize" means len(revision(raw=True)). This patch makes it so. This corrects "hg status" output when flag processor is involved. The call stack looks like: basectx.status -> workingctx._buildstatus -> workingctx._dirstatestatus -> workingctx._checklookup -> filectx.cmp -> filelog.cmp -> filelog.size -> revlog.size
author Jun Wu <quark@fb.com>
date Sun, 09 Apr 2017 12:53:31 -0700
parents e995f00a9e9a
children 176ed32dc159 d74b0cff94a9
comparison
equal deleted inserted replaced
31855:a418c5837bc0 31856:0ab7f469d386