diff --git a/mercurial/discovery.py b/mercurial/discovery.py
index be0489770925f2c1a31db78e09c3b9081188dbcc_bWVyY3VyaWFsL2Rpc2NvdmVyeS5weQ==..8688590ca03ce46f8b375540e4ad0f0000e5bea2_bWVyY3VyaWFsL2Rpc2NvdmVyeS5weQ== 100644
--- a/mercurial/discovery.py
+++ b/mercurial/discovery.py
@@ -309,7 +309,7 @@
             # remove future heads which are actually obsoleted by another
             # pushed element:
             #
-            # XXX as above, There are several cases this case does not handle
+            # XXX as above, There are several cases this code does not handle
             # XXX properly
             #
             # (1) if <nh> is public, it won't be affected by obsolete marker