Add a missing anchor for "new" copied files in the diff viewer.

Review Request #7384 — Created June 5, 2015 and submitted — Latest diff uploaded

Information

Review Board
release-2.0.x
86d11db...

Reviewers

Files that were marked both as "new" and also copied from another file
were missing an anchor, causing the file index to fail. This is pretty
rare, so it wasn't reported before, but we had a case where it happened
just recently.

We should now have an anchor in all cases.

Tested with a file in this state. Saw the anchor. Clicking the file index
took me there.

    Loading...