Show More
@@ -1,10 +1,11 b'' | |||||
1 | from __future__ import absolute_import, print_function |
|
1 | from __future__ import absolute_import, print_function | |
2 | from mercurial.hg import ( |
|
2 | ||
3 | parseurl, |
|
3 | from mercurial import ( | |
|
4 | hg, | |||
4 | ) |
|
5 | ) | |
5 |
|
6 | |||
6 | def testparse(url, branch=[]): |
|
7 | def testparse(url, branch=[]): | |
7 | print('%s, branches: %r' % parseurl(url, branch)) |
|
8 | print('%s, branches: %r' % hg.parseurl(url, branch)) | |
8 |
|
9 | |||
9 | testparse('http://example.com/no/anchor') |
|
10 | testparse('http://example.com/no/anchor') | |
10 | testparse('http://example.com/an/anchor#foo') |
|
11 | testparse('http://example.com/an/anchor#foo') |
General Comments 0
You need to be logged in to leave comments.
Login now