Mercurial > hg
comparison contrib/dumprevlog @ 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 | 6359b80f15fb |
children | a915465a731e |
comparison
equal
deleted
inserted
replaced
31855:a418c5837bc0 | 31856:0ab7f469d386 |
---|