mercurial/commands.py
changeset 37684 5fc502e149f1
parent 37621 5537d8f5e989
child 37716 dfc51a482031
--- 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