mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
commit: mark internal-only option
This commit is contained in:
parent
6a4e277735
commit
d8dd457296
@ -1475,6 +1475,7 @@ class localrepository(object):
|
||||
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'))
|
||||
|
Loading…
Reference in New Issue
Block a user