Centralize get_branches() in the SVN backends.

Review Request #5980 — Created June 11, 2014 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
fd0de4c...

Reviewers

The get_branches() logic was pretty complicated, and existed in two
places. This change pulls it into SVNTool, and adds new client backend
functions for performing the directory listing operations.

This also simplifies get_branches(), since it was doing a bunch of work
to build new dictionaries out of old ones, which shouldn't be necessary
anymore.

All unit tests pass for both backends.