Fix ClearCase relpath on Windows.

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

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.
DE
david
  1. Ship It!
  2. 
      
DE
Review request changed
Status:
Completed
Change Summary:
Pushed to release-1.6.x (ff4fbcb). Thanks!