tests/test-hg-parseurl.py.out
author Pierre-Yves David <pierre-yves.david@fb.com>
Thu, 01 May 2014 12:15:00 -0700
branchstable
changeset 21214 0952904dc1e5
parent 13897 375872fdadba
permissions -rw-r--r--
lazyset: directly use __contains__ instead of a lambda We apply the same speedup as in spanset, getting rid of the useless lambda. (No new timing, as this is the very same change)

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