mercurial/cmdutil.py
changeset 5184 92236732d5a1
parent 5068 d5126a0172ba
child 5185 18a9fbb5cd78
--- a/mercurial/cmdutil.py
+++ b/mercurial/cmdutil.py
@@ -459,15 +459,6 @@ def setremoteconfig(ui, opts):
     if opts.get('remotecmd'):
         ui.setconfig("ui", "remotecmd", opts['remotecmd'])
 
-def parseurl(url, revs):
-    '''parse url#branch, returning url, branch + revs'''
-
-    if '#' not in url:
-        return url, (revs or None)
-
-    url, rev = url.split('#', 1)
-    return url, revs + [rev]
-
 def revpair(repo, revs):
     '''return pair of nodes, given list of revisions. second item can
     be None, meaning use working dir.'''