Fixed the definition of a restricted changeset.
Fixed the definition of a restricted changeset.

The restricted changeset for a path should only show
modified paths that are either:
 * exactly the same as the given path,
 * the directories above
 * the files and folders below the path, if the path is a directory

Before the fix, the restricted changeset for e.g. 
`trunk/README` would also show `trunk/README.tracd`, 
and conversely.

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

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