Centralize get_branches() in the SVN backends.
Review Request #5980 — Created June 11, 2014 and submitted — Latest diff uploaded
The
get_branches()logic was pretty complicated, and existed in two
places. This change pulls it intoSVNTool, 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.