# HG changeset patch # User Sushil khanchi # Date 2018-08-26 23:01:09 # Node ID 6b81d2ff118f745c0cdc80818065f2a4a13bdfe3 # Parent 3c4b2e8802737d02a89fb7b7395fafe0896b78df cmdutil: fix typo in revert() Differential Revision: https://phab.mercurial-scm.org/D4381 diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -2773,7 +2773,7 @@ def revert(ui, repo, ctx, parents, *pats # `names` is a mapping for all elements in working copy and target revision # The mapping is in the form: - # -> (, ) + # -> (, ) names = {} with repo.wlock():