Show More
@@ -1462,7 +1462,7 b' class localrepository(object):' | |||
|
1462 | 1462 | cctx = context.workingcommitctx(self, status, |
|
1463 | 1463 | text, user, date, extra) |
|
1464 | 1464 | |
|
1465 |
allowemptycommit = (wctx.branch() != wctx.p1().branch() |
|
|
1465 | allowemptycommit = (wctx.branch() != wctx.p1().branch() | |
|
1466 | 1466 | or extra.get('close') or merge or cctx.files() |
|
1467 | 1467 | or self.ui.configbool('ui', 'allowemptycommit')) |
|
1468 | 1468 | if not allowemptycommit: |
General Comments 0
You need to be logged in to leave comments.
Login now