changeset 51136:591845f89ada

cleanup: drop `path.pushloc` deprecated since 6.5 This was scheduled for removal, let us remove it.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 08 Nov 2023 22:11:00 +0100
parents 88ef80210d67
children d8f65fc72e7b
files mercurial/utils/urlutil.py
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/utils/urlutil.py	Wed Nov 08 22:10:26 2023 +0100
+++ b/mercurial/utils/urlutil.py	Wed Nov 08 22:11:00 2023 +0100
@@ -923,14 +923,6 @@
             new._setup_url(self._pushloc)
         return new
 
-    def pushloc(self):
-        """compatibility layer for the deprecated attributes"""
-        from .. import util  # avoid a cycle
-
-        msg = "don't use path.pushloc, use path.get_push_variant()"
-        util.nouideprecwarn(msg, b"6.5")
-        return self._pushloc
-
     def _validate_path(self):
         # When given a raw location but not a symbolic name, validate the
         # location is valid.