Clean up MercurialClient a little bit.

Review Request #5156 — Created Dec. 23, 2013 and submitted — Latest diff uploaded

Information

RBTools
master

Reviewers

Clean up MercurialClient a little bit.

This moves some code around and makes some changes for consistency and more
idiomatic python, and refactors initialization-type things out of
get_repository_info(), making it stateless.

Ran unit tests.