Patchwork [1,of,5] obsolete: fix bad comment

login
register
mail settings
Submitter Pierre-Yves David
Date Dec. 24, 2013, 12:32 a.m.
Message ID <3364efb44fbd4ef52c02.1387845138@marginatus.fb.com>
Download mbox | patch
Permalink /patch/3232/
State Accepted
Commit 509768fc75426bf2aff9dad128b0b40ce490b126
Headers show

Comments

Pierre-Yves David - Dec. 24, 2013, 12:32 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@ens-lyon.org>
# Date 1387834323 28800
#      Mon Dec 23 13:32:03 2013 -0800
# Node ID 3364efb44fbd4ef52c02e6725f5958c6f2130531
# Parent  4274eda143cb1025be1130ffdaaf62370a2a6961
obsolete: fix bad comment

We cannot afford such extra "with" they are far too pricy.

Patch

diff --git a/mercurial/obsolete.py b/mercurial/obsolete.py
--- a/mercurial/obsolete.py
+++ b/mercurial/obsolete.py
@@ -445,11 +445,11 @@  def allsuccessors(obsstore, nodes, ignor
     seen = set(remaining)
     while remaining:
         current = remaining.pop()
         yield current
         for mark in obsstore.successors.get(current, ()):
-            # ignore marker flagged with with specified flag
+            # ignore marker flagged with specified flag
             if mark[2] & ignoreflags:
                 continue
             for suc in mark[1]:
                 if suc not in seen:
                     seen.add(suc)