# HG changeset patch # User Augie Fackler # Date 1523680904 14400 # Node ID 5fc502e149f199378be015d7d08070a030811ede # Parent e481d54f516db6f2f694173b807f2d2148026db5 commands: drop spurious r'' on dry_run in forget Fixes test-add.t on Python 3. Differential Revision: https://phab.mercurial-scm.org/D3365 diff -r e481d54f516d -r 5fc502e149f1 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