##// END OF EJS Templates
commit: mark internal-only option
Matt Mackall -
r25840:25897d77 default
parent child Browse files
Show More
@@ -1475,6 +1475,7 class localrepository(object):
1475 cctx = context.workingcommitctx(self, status,
1475 cctx = context.workingcommitctx(self, status,
1476 text, user, date, extra)
1476 text, user, date, extra)
1477
1477
1478 # internal config: ui.allowemptycommit
1478 allowemptycommit = (wctx.branch() != wctx.p1().branch()
1479 allowemptycommit = (wctx.branch() != wctx.p1().branch()
1479 or extra.get('close') or merge or cctx.files()
1480 or extra.get('close') or merge or cctx.files()
1480 or self.ui.configbool('ui', 'allowemptycommit'))
1481 or self.ui.configbool('ui', 'allowemptycommit'))
General Comments 0
You need to be logged in to leave comments. Login now