Mercurial > public > mercurial-scm > hg-stable
diff mercurial/context.py @ 44050:2ecbc4ec87d8
overlayworkingctx: default branch to base context's branch
This matches what the dirstate does (it reuses working copy parent's
branch unless told otherwise). By moving the default out of
`rebase.commitmemorynode()`, it will let us clean that up better
later.
Differential Revision: https://phab.mercurial-scm.org/D7821
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 10 Jan 2020 17:03:23 -0800 |
parents | f652b7ddc1d4 |
children | 436d106de670 |
line wrap: on
line diff