tests/test-hg-parseurl.py.out
author Yuya Nishihara <yuya@tcha.org>
Wed, 29 Mar 2017 21:13:55 +0900
changeset 31774 7d2cbe11ae48
parent 13897 375872fdadba
permissions -rw-r--r--
pycompat: introduce identity function as a compat stub I was sometimes too lazy to use 'str' instead of 'lambda a: a'. Let's add a named function for that purpose.

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', [])