diff -r 23ef198efce9 -r a020247d75e5 mercurial/hg.py --- a/mercurial/hg.py Fri Apr 11 22:18:38 2008 -0700 +++ b/mercurial/hg.py Fri Apr 11 22:19:51 2008 -0700 @@ -16,7 +16,7 @@ return (os.path.isfile(util.drop_scheme('file', path)) and bundlerepo or localrepo) -def parseurl(url, revs): +def parseurl(url, revs=[]): '''parse url#branch, returning url, branch + revs''' if '#' not in url: