##// END OF EJS Templates
clone: test streaming disabled because client is missing requirement...
clone: test streaming disabled because client is missing requirement Turns out we had no coverage for this important case.

File last commit:

r28806:d26c4af2 default
r32258:9c60d93f default
Show More
test-hg-parseurl.py
17 lines | 580 B | text/x-python | PythonLexer
/ tests / test-hg-parseurl.py
Robert Stanca
py3: use print_function in test-hg-parseurl.py
r28746 from __future__ import absolute_import, print_function
Yuya Nishihara
test-hg-parseurl: stop direct symbol import of mercurial.hg.parseurl
r28806
from mercurial import (
hg,
Robert Stanca
py3: use absolute_import in test-hg-parseurl.py
r28745 )
Martijn Pieters
hg: allow hg.parseurl(url, None)...
r8174
Sune Foldager
interpret repo#name url syntax as branch instead of revision...
r10365 def testparse(url, branch=[]):
Yuya Nishihara
test-hg-parseurl: stop direct symbol import of mercurial.hg.parseurl
r28806 print('%s, branches: %r' % hg.parseurl(url, branch))
Martijn Pieters
hg: allow hg.parseurl(url, None)...
r8174
testparse('http://example.com/no/anchor')
testparse('http://example.com/an/anchor#foo')
Sune Foldager
interpret repo#name url syntax as branch instead of revision...
r10365 testparse('http://example.com/no/anchor/branches', branch=['foo'])
testparse('http://example.com/an/anchor/branches#bar', branch=['foo'])
testparse('http://example.com/an/anchor/branches-None#foo', branch=None)
Thomas Arendsen Hein
hg: make parseurl() consistently return normalised path...
r13897 testparse('http://example.com/')
testparse('http://example.com')
testparse('http://example.com#foo')