changeset 25840 | 25897d778738 |
parent 25839 | 1f8287b41935 |
child 25841 | a2f7e0ba57a6 |
--- a/mercurial/localrepo.py Thu Jun 25 17:50:27 2015 -0500 +++ b/mercurial/localrepo.py Thu Jun 25 17:51:02 2015 -0500 @@ -1475,6 +1475,7 @@ cctx = context.workingcommitctx(self, status, text, user, date, extra) + # internal config: ui.allowemptycommit allowemptycommit = (wctx.branch() != wctx.p1().branch() or extra.get('close') or merge or cctx.files() or self.ui.configbool('ui', 'allowemptycommit'))