mercurial/commands.py
branchstable
changeset 16505 db85c24dcdea
parent 16491 bfe89d65d651
child 16551 ebf6d38c9063
--- a/mercurial/commands.py	Mon Apr 23 00:38:22 2012 +0900
+++ b/mercurial/commands.py	Sat Apr 21 10:23:47 2012 +0200
@@ -1228,7 +1228,7 @@
     bheads = repo.branchheads(branch)
 
     if opts.get('amend'):
-        if ui.config('ui', 'commitsubrepos'):
+        if ui.configbool('ui', 'commitsubrepos'):
             raise util.Abort(_('cannot amend recursively'))
 
         old = repo['.']