mercurial/cmdutil.py
changeset 5177 92236732d5a1
parent 5113 d5126a0172ba
child 5178 18a9fbb5cd78
--- a/mercurial/cmdutil.py	Wed Aug 15 16:10:24 2007 -0500
+++ b/mercurial/cmdutil.py	Wed Aug 15 16:10:36 2007 -0500
@@ -459,15 +459,6 @@
     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.'''