[Updated] D11952: discovery: remove deprecated API

Alphare (Raphaël Gomès) phabricator at mercurial-scm.org
Tue Jan 4 19:59:18 UTC 2022


Closed by commit rHG61fe7e17f21b: discovery: remove deprecated API (authored by Alphare).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D11952?vs=31575&id=31590

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D11952/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D11952

AFFECTED FILES
  mercurial/discovery.py

CHANGE DETAILS

diff --git a/mercurial/discovery.py b/mercurial/discovery.py
--- a/mercurial/discovery.py
+++ b/mercurial/discovery.py
@@ -141,17 +141,6 @@
             self._computecommonmissing()
         return self._missing
 
-    @property
-    def missingheads(self):
-        util.nouideprecwarn(
-            b'outgoing.missingheads never contained what the name suggests and '
-            b'was renamed to outgoing.ancestorsof. check your code for '
-            b'correctness.',
-            b'5.5',
-            stacklevel=2,
-        )
-        return self.ancestorsof
-
 
 def findcommonoutgoing(
     repo, other, onlyheads=None, force=False, commoninc=None, portable=False



To: Alphare, #hg-reviewers
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercurial-scm.org/pipermail/mercurial-patches/attachments/20220104/ff80c20f/attachment.html>


More information about the Mercurial-patches mailing list