Menu

Commit [r9491]  Maximize  Restore  History

blame: diff overlay didn't always show the proper content diff

The retrieval of the file path at a given revision from the restricted changeset href (`<rev>/<reponame>/<path>`) was broken, for several reasons:
- `<reponame>` was removed before the `<rev>` number was removed
- whenever `<path>` is empty, one should take the `original_path`
- unicode characters in `<path>` were encoded, need to do a `decodeURI` first

This should fix #9236.

cboos 2010-04-20

changed /trunk/trac/htdocs/js/blame.js
/trunk/trac/htdocs/js/blame.js Diff Switch to side-by-side view
Loading...
Auth0 Logo