mercurial/cmdutil.py
changeset 5222 cbe6e263357b
parent 5062 3d35c8cb5eb4
child 5248 5517aa5aafb0
--- a/mercurial/cmdutil.py	Mon Aug 27 01:44:35 2007 -0300
+++ b/mercurial/cmdutil.py	Mon Aug 27 01:44:35 2007 -0300
@@ -462,10 +462,10 @@
     '''parse url#branch, returning url, branch + revs'''
 
     if '#' not in url:
-        return url, (revs or None)
+        return url, (revs or None), None
 
     url, rev = url.split('#', 1)
-    return url, revs + [rev]
+    return url, revs + [rev], rev
 
 def revpair(repo, revs):
     '''return pair of nodes, given list of revisions. second item can