id summary reporter owner description type status priority component severity resolution keywords cc release 13271 PlantUML macro path parameter cannot reference a file in a repo other than the default james.close Ryan J Ollos "System: {{{ PlantUML: 2.0dev-r14362 Trac: 1.2.2 Server: Apache/2.4.7 (Ubuntu) Database: PostgreSQL 9.3.14 on x86_64-unknown-linux-gnu, compiled by gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4, 64-bit OS: Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-100-generic x86_64) Repository 1 (Default): Subversion version 1.8.8 (r1568071). Repository 2 mygitrepo: git version 1.9.1 }}} With two repos set-up as above (default SVN) second is git. Referencing a PlantUML file from the second repo does not work. {{{ # This works fine with the default repo: {{{#!PlantUml path=""/Some/Path/In/Default/Repo/To/The/PlantUMLFile.plant"" }}} # This does not work: {{{#!PlantUml path=""mygitrepo/Some/Path/In/Second/Repo/To/The/PlantUMLFile.plant@branch"" }}} # Returns the error: # File not found in repository: mygitrepo/Some/Path/To/The/GitPlantUMLFile@branch }}} I believe the issue is around the code for splitting the path does not remove the ""mygitrepo"" element of the path before searching for the file. I have a workaround by changing the code in [source:plantumlmacro/trunk/plantuml/macro.py#L199 macro.py line 199] to: {{{#!python path, rev = _split_path(src_path) if not repos.has_node(path, rev): # JC 12 Sep 2017 - Bug fix # maybe the path has the reponame at the start strip it out! pos = path.find('/') if pos != -1: path = path[pos:] if repos.has_node(path, rev): node = repos.get_node(path, rev) content = node.get_content().read() exists = True }}} " defect closed normal PlantUmlMacro normal fixed MultipleRepository Álvaro Iradier 1.2