##// END OF EJS Templates
parseurl: make revs optional
Bryan O'Sullivan -
r6525:a020247d default
parent child Browse files
Show More
@@ -16,7 +16,7 b' def _local(path):'
16 return (os.path.isfile(util.drop_scheme('file', path)) and
16 return (os.path.isfile(util.drop_scheme('file', path)) and
17 bundlerepo or localrepo)
17 bundlerepo or localrepo)
18
18
19 def parseurl(url, revs):
19 def parseurl(url, revs=[]):
20 '''parse url#branch, returning url, branch + revs'''
20 '''parse url#branch, returning url, branch + revs'''
21
21
22 if '#' not in url:
22 if '#' not in url:
General Comments 0
You need to be logged in to leave comments. Login now