MergeInfoEnhancer does not do anything if Trac is configured to handle only subdirectory of a repository
|Reported by:||martin_s||Owned by:||eblot|
I configured my Trac to use only a subdirectory of a repository, e.g.
repository_dir = /path/to/repos/subdir/in/repos/
were /path/to/repos is the real subversion repository path and /subdir/in/repos is a directory inside the repository which has its own trunk, branches and tags directories.
The RevtreePlugin itself works quite well with this configuration, but MergeInfoEnhancer does not get that the svn:merge-info properties all start with /subdir/in/repos. This part must be removed before the info is processed.
I attached a prof-of-concept patch where this part (called reposparent) was hardcoded for my needs. Should be simple to read it from the Trac svn API but I didn't know were to look. If not it could be a simple config entry.