##// END OF EJS Templates
commit: use ui.configbool when checking 'commitsubrepos' setting on --amend...
Adrian Buehlmann -
r16505:db85c24d stable
parent child Browse files
Show More
@@ -1228,7 +1228,7 b' def commit(ui, repo, *pats, **opts):'
1228 bheads = repo.branchheads(branch)
1228 bheads = repo.branchheads(branch)
1229
1229
1230 if opts.get('amend'):
1230 if opts.get('amend'):
1231 if ui.config('ui', 'commitsubrepos'):
1231 if ui.configbool('ui', 'commitsubrepos'):
1232 raise util.Abort(_('cannot amend recursively'))
1232 raise util.Abort(_('cannot amend recursively'))
1233
1233
1234 old = repo['.']
1234 old = repo['.']
General Comments 0
You need to be logged in to leave comments. Login now