diff -r 9719e118e4af -r 75f6491b66a7 mercurial/discovery.py --- 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".