Menu

Commit [r8401]  Maximize  Restore  History

svn:mergeinfo renderer: optimize algorithm for computing eligible range.

We first try to get a minimal eligible range by finding the source branch revision origin, then removing the already merged revs and the blocked ones, and call `_get_node_revs` last. That costly call is restricted within the eligible range obtained so far, and is even avoided completely if the eligible range is already empty at that point.

See #8459.

cboos 2009-07-30

changed /branches/0.11-stable/trac/versioncontrol/svn_fs.py
changed /branches/0.11-stable/trac/versioncontrol/svn_prop.py
/branches/0.11-stable/trac/versioncontrol/svn_fs.py Diff Switch to side-by-side view
Loading...
/branches/0.11-stable/trac/versioncontrol/svn_prop.py Diff Switch to side-by-side view
Loading...