diff -r ec2c2e1400f0 -r 9994f45ba714 mercurial/commands.py --- a/mercurial/commands.py Wed Dec 31 18:24:32 2014 -0500 +++ b/mercurial/commands.py Mon Jan 12 20:59:17 2015 -0500 @@ -199,8 +199,7 @@ """ m = scmutil.match(repo[None], pats, opts) - rejected = cmdutil.add(ui, repo, m, opts.get('dry_run'), - opts.get('subrepos'), prefix="", explicitonly=False) + rejected = cmdutil.add(ui, repo, m, "", False, **opts) return rejected and 1 or 0 @command('addremove',