Patchwork cmdutil: typo fix in comment

login
register
mail settings
Submitter Augie Fackler
Date May 6, 2016, 6:24 p.m.
Message ID <60506021d5a0b3d18cb8.1462559042@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/14950/
State Accepted
Delegated to: Yuya Nishihara
Headers show

Comments

Augie Fackler - May 6, 2016, 6:24 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1462558937 14400
#      Fri May 06 14:22:17 2016 -0400
# Node ID 60506021d5a0b3d18cb81eadba23688ee75ff022
# Parent  fe50341de1fff843ae633d7ad7be908100c09cdc
cmdutil: typo fix in comment
Yuya Nishihara - May 9, 2016, 11:59 a.m.
On Fri, 06 May 2016 14:24:02 -0400, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie@google.com>
> # Date 1462558937 14400
> #      Fri May 06 14:22:17 2016 -0400
> # Node ID 60506021d5a0b3d18cb81eadba23688ee75ff022
> # Parent  fe50341de1fff843ae633d7ad7be908100c09cdc
> cmdutil: typo fix in comment

Sure, pushed to the committed repo.

Patch

diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -3071,7 +3071,7 @@  def revert(ui, repo, ctx, parents, *pats
 
             # tell newly modified apart.
             dsmodified &= modified
-            dsmodified |= modified & dsadded # dirstate added may needs backup
+            dsmodified |= modified & dsadded # dirstate added may need backup
             modified -= dsmodified
 
             # We need to wait for some post-processing to update this set