Fix ClearCase relpath on Windows.

Review Request #3323 — Created Sept. 6, 2012 and submitted — Latest diff uploaded

Information

Review Board
master

Reviewers

ntpath.relpath() overflows and throws TypeError for paths containing atleast 520 characters (not that hard to encounter in UCM repository).

Handle this problem by falling back to the "approximation method".
Tested on Windows ReviewBoard 1.6.11 installation.