Mercurial > hg
diff mercurial/bdiff.c @ 25416:c4a92867c048
subrepo: introduce the nullsubrepo() method
This will be used in an upcoming patch. It's a one-off use, but seems better to
be contained in the subrepo module, than for the next patch to overwrite the
_ctx and _state fields in another module. '' is used as the default revision in
subrepo.state() if it can't be found, so it seems like a safe choice.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Wed, 03 Jun 2015 13:45:42 -0400 |
parents | 66b21ce60a19 |
children | e868d8ee7c8f |