Patchwork D11952: discovery: remove deprecated API

login
register
mail settings
Submitter phabricator
Date Dec. 23, 2021, 9:12 p.m.
Message ID <differential-rev-PHID-DREV-l5brkkrwq2ikafwdjzb7-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/50276/
State New
Headers show

Comments

phabricator - Dec. 23, 2021, 9:12 p.m.
Alphare created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  mercurial/discovery.py

CHANGE DETAILS




To: Alphare, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

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