david got a fish trophy!
Fix an IndexError for mercurial repositories with no bookmarks.
Review Request #10401 — Created Feb. 10, 2019 and submitted
When a mercurial repository doesn't have any bookmarks defined, the way
we were iterating over them was attempting to process an empty record,
causing an IndexError when we couldn't properly split it. This change
fixes it to test for the empty record, and adds a unit test which
verifies correct behavior for hg repositories with no bookmarks.
Ran unit tests.
Line seems a bit too long.