diff -r e807c373846a -r a77e61b45384 mercurial/subrepo.py --- a/mercurial/subrepo.py Mon Apr 24 04:32:04 2017 +0530 +++ b/mercurial/subrepo.py Tue Apr 25 01:52:30 2017 +0530 @@ -1771,7 +1771,7 @@ if exact: rejected.append(f) continue - if not opts.get('dry_run'): + if not opts.get(r'dry_run'): self._gitcommand(command + [f]) for f in rejected: