tests/test-hg-parseurl.py.out
author Yuya Nishihara <yuya@tcha.org>
Sun, 14 Feb 2016 12:42:25 +0900
changeset 28343 a6c2310b3827
parent 13897 375872fdadba
permissions -rw-r--r--
templater: factor out function that evaluates argument as integer We have more bare int()s that may raise ValueError or TypeError. This function will be used to fix them.

http://example.com/no/anchor, branches: (None, [])
http://example.com/an/anchor, branches: ('foo', [])
http://example.com/no/anchor/branches, branches: (None, ['foo'])
http://example.com/an/anchor/branches, branches: ('bar', ['foo'])
http://example.com/an/anchor/branches-None, branches: ('foo', [])
http://example.com/, branches: (None, [])
http://example.com/, branches: (None, [])
http://example.com/, branches: ('foo', [])