commands: drop spurious r'' on dry_run in forget
authorAugie Fackler <augie@google.com>
Sat, 14 Apr 2018 00:41:44 -0400
changeset 37684 5fc502e149f1
parent 37683 e481d54f516d
child 37685 76cd5816268e
commands: drop spurious r'' on dry_run in forget Fixes test-add.t on Python 3. Differential Revision: https://phab.mercurial-scm.org/D3365
mercurial/commands.py
--- 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