Mercurial > hg
comparison hgext/__init__.py @ 23856:062c3ad86651
revlog: add flags argument to _addrevision, update callers use default flags
For revlog index flags to be useful to other parts of Mercurial, they need to
be settable when writing revisions. The current use case for revlog index
flags is the censorship feature: http://mercurial.selenic.com/wiki/CensorPlan
While the censor flag could be inferred in _addrevision by interrogating the
text/delta being added, that would bury the censorship logic and
inappropriately couple it to all revision creation.
author | Mike Edgar <adgar@google.com> |
---|---|
date | Mon, 12 Jan 2015 14:30:24 -0500 |
parents | 7d439981bec4 |
children | 155e3308289c |
comparison
equal
deleted
inserted
replaced
23855:4f23081c901e | 23856:062c3ad86651 |
---|