diff mercurial/discovery.py @ 45142:75f6491b66a7

discovery: weaken claim about returned common heads if ancestorsof are given As the test case shows, the claim is not true in general.
author Manuel Jacob <me@manueljacob.de>
date Wed, 15 Jul 2020 09:51:11 +0200
parents 26ce8e751503
children 5631b0116374
line wrap: on
line diff
--- a/mercurial/discovery.py	Thu Jul 16 19:48:49 2020 +0200
+++ b/mercurial/discovery.py	Wed Jul 15 09:51:11 2020 +0200
@@ -41,8 +41,8 @@
       any longer.
     "heads" is either the supplied heads, or else the remote's heads.
     "ancestorsof" if not None, restrict the discovery to a subset defined by
-      these nodes. Changeset outside of this set won't be considered (and
-      won't appears in "common")
+      these nodes. Changeset outside of this set won't be considered (but may
+      still appear in "common").
 
     If you pass heads and they are all known locally, the response lists just
     these heads in "common" and in "heads".