diff mercurial/hg.py @ 48563:75fc2537d93c

urls: remove deprecated APIs Differential Revision: https://phab.mercurial-scm.org/D11950
author Rapha?l Gom?s <rgomes@octobus.net>
date Thu, 23 Dec 2021 14:47:52 +0100
parents b74ee41addee
children f13fb742e1d8
line wrap: on
line diff
--- a/mercurial/hg.py	Thu Dec 23 14:47:33 2021 +0100
+++ b/mercurial/hg.py	Thu Dec 23 14:47:52 2021 +0100
@@ -131,13 +131,6 @@
     return revs, revs[0]
 
 
-def parseurl(path, branches=None):
-    '''parse url#branch, returning (url, (branch, branches))'''
-    msg = b'parseurl(...) moved to mercurial.utils.urlutil'
-    util.nouideprecwarn(msg, b'6.0', stacklevel=2)
-    return urlutil.parseurl(path, branches=branches)
-
-
 schemes = {
     b'bundle': bundlerepo,
     b'union': unionrepo,