Normalize filediff filenames during creation.

Review Request #5734 — Created April 24, 2014 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
6d2dc6f...

Reviewers

Some of the diff APIs that we're using for post-commit review request creation
(looking at you, GitHub) give us filenames with leading slashes. This doesn't
match what we have elsewhere, which makes things annoying if filenames don't
match.

Used this in conjunction with testing out the suggested reviewers feature. Saw
that when I created a post-commit review request, the filenames matched what
would have been created from rbtools.

    Loading...