# HG changeset patch # User Pierre-Yves David # Date 2023-11-08 21:11:00 # Node ID 591845f89adad4613b439c412ad08d90185d389f # Parent 88ef80210d67157675da72bde83445c937724f07 cleanup: drop `path.pushloc` deprecated since 6.5 This was scheduled for removal, let us remove it. diff --git a/mercurial/utils/urlutil.py b/mercurial/utils/urlutil.py --- a/mercurial/utils/urlutil.py +++ b/mercurial/utils/urlutil.py @@ -923,14 +923,6 @@ class path: 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.