Mercurial > hg
changeset 37684:5fc502e149f1
commands: drop spurious r'' on dry_run in forget
Fixes test-add.t on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D3365
author | Augie Fackler <augie@google.com> |
---|---|
date | Sat, 14 Apr 2018 00:41:44 -0400 |
parents | e481d54f516d |
children | 76cd5816268e |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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