In retricted changeset views, there was a local variable scope bug: `path` was used in each iteration in the `get_changes` local function, so using it inside the body of the loop was interfering... Closes #4796.
In retricted changeset views, there was a local variable scope bug: `path` was used in each iteration in the `get_changes` local function, so using it inside the body of the loop was interfering... Closes #4796.

git-svn-id: f68c6b3b1dcd5d00a2560c384475aaef3bc99487@4815 af82e41b-90c4-0310-8c96-b1721e28e2e2

dokipen/trac,dokipen/trac,dafrito/trac-mirror,exocad/exotrac,moreati/trac-gitsvn,dafrito/trac-mirror,exocad/exotrac,dafrito/trac-mirror,moreati/trac-gitsvn,moreati/trac-gitsvn,dafrito/trac-mirror,exocad/exotrac,exocad/exotrac,moreati/trac-gitsvn,dokipen/trac