Show More
@@ -1475,6 +1475,7 b' class localrepository(object):' | |||
|
1475 | 1475 | cctx = context.workingcommitctx(self, status, |
|
1476 | 1476 | text, user, date, extra) |
|
1477 | 1477 | |
|
1478 | # internal config: ui.allowemptycommit | |
|
1478 | 1479 | allowemptycommit = (wctx.branch() != wctx.p1().branch() |
|
1479 | 1480 | or extra.get('close') or merge or cctx.files() |
|
1480 | 1481 | or self.ui.configbool('ui', 'allowemptycommit')) |
General Comments 0
You need to be logged in to leave comments.
Login now