commands: drop spurious r'' on dry_run in forget
Fixes test-add.t on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D3365
--- a/mercurial/commands.py Sat Apr 14 00:56:53 2018 -0400
+++ b/mercurial/commands.py Sat Apr 14 00:41:44 2018 -0400
@@ -2090,7 +2090,7 @@
raise error.Abort(_('no files specified'))
m = scmutil.match(repo[None], pats, opts)
- dryrun = opts.get(r'dry_run')
+ dryrun = opts.get('dry_run')
rejected = cmdutil.forget(ui, repo, m, prefix="",
explicitonly=False, dryrun=dryrun)[0]
return rejected and 1 or 0