Mercurial > hg
comparison doc/check-seclevel.py @ 42296:df2f22befdc8
context: let caller pass in branch to committablectx.__init__()
committablectx.__init__() currently looks up the branch from the
dirstate unless it's passed in the extras. memctx.__init__() has a
branch argument, but since committablectx.__init__() doesn't accept
it, it lets that constructor look up the branch from the dirstate
before it overwrites it, which seems awkward.
Differential Revision: https://phab.mercurial-scm.org/D6366
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 10 May 2019 22:51:33 -0700 |
parents | 77763dc5b07b |
children | 2372284d9457 |
comparison
equal
deleted
inserted
replaced
42295:fdd4d668ceb5 | 42296:df2f22befdc8 |
---|