Mercurial > hg
comparison hgext/censor.py @ 33998:becce02036e1
context: make parents and text optional in metadataonlyctx
The metadataonlyctx is to copy an existing context with some minor metadata
changes. If the caller only wants to change "extra", or "user", ideally it
does not have to read and pass "parents" and "text" information.
This patch makes "parents" and "text" optionally to convenient callers.
Differential Revision: https://phab.mercurial-scm.org/D548
author | Jun Wu <quark@fb.com> |
---|---|
date | Mon, 28 Aug 2017 16:49:41 -0700 |
parents | 46ba2cdda476 |
children | 0596d27457c6 |
comparison
equal
deleted
inserted
replaced
33997:d0f1e3d3ef4d | 33998:becce02036e1 |
---|