Patchwork D3365: commands: drop spurious r'' on dry_run in forget

login
register
mail settings
Submitter phabricator
Date April 14, 2018, 12:15 p.m.
Message ID <36d4d4efa633265aef3d4367226a4833@localhost.localdomain>
Download mbox | patch
Permalink /patch/31019/
State Not Applicable
Headers show

Comments

phabricator - April 14, 2018, 12:15 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG5fc502e149f1: commands: drop spurious r&#039;&#039; on dry_run in forget (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3365?vs=8242&id=8267

REVISION DETAIL
  https://phab.mercurial-scm.org/D3365

AFFECTED FILES
  mercurial/commands.py

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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