##// END OF EJS Templates
revset: for x^2, do not take null as a valid p2 revision...
revset: for x^2, do not take null as a valid p2 revision Since we don't count null p2 revision as a parent, x^2 should never return null even if null is explicitly populated.

File last commit:

r28806:d26c4af2 default
r30179:cdef35b3 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')