changeset 25840:25897d778738

commit: mark internal-only option
author Matt Mackall <mpm@selenic.com>
date Thu, 25 Jun 2015 17:51:02 -0500
parents 1f8287b41935
children a2f7e0ba57a6
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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'))