Fix handling of basedir in 'rbt patch'

Review Request #5855 — Created May 21, 2014 and submitted — Latest diff uploaded

Information

RBTools
master
51e5f5f...

Reviewers

Depending on the version of the Review Board server and the particular
repository type, the returned diffset object from the API may have no basedir,
may have a basedir of None, or may be a string. In the first two cases, we want
to normalize this to an empty string.

This also handles a None repository base_path.

  • Ran 'rbt patch'
  • Ran unit tests.