tests/test-hg-parseurl.py
changeset 28806 d26c4af27978
parent 28746 de5808c57f58
child 37713 11d128a14ec0
--- a/tests/test-hg-parseurl.py	Tue Apr 05 23:17:43 2016 +0900
+++ b/tests/test-hg-parseurl.py	Tue Apr 05 23:18:52 2016 +0900
@@ -1,10 +1,11 @@
 from __future__ import absolute_import, print_function
-from mercurial.hg import (
-    parseurl,
+
+from mercurial import (
+    hg,
 )
 
 def testparse(url, branch=[]):
-    print('%s, branches: %r' % parseurl(url, branch))
+    print('%s, branches: %r' % hg.parseurl(url, branch))
 
 testparse('http://example.com/no/anchor')
 testparse('http://example.com/an/anchor#foo')