Strange behaviour when using p4 workspace
|Reported by:||Nounours||Owned by:||ttressieres|
On a Trac v0.11 running the 0.5dev version of the Perforce Plugin :
We have one repository for all our projects, then we restrict the views with workspaces.
Setting the workspace value in the [perforce] section from trac.ini doesn't seem to restrict the contents of the cached repository (I assume it's normal because p4 changesets aren't workspace-bound).
But when i'm trying to browse the repository from Trac web UI, the plugin raises a NoSuchNode exception (maybe because the generated nodePath workspace_name/etc.... isn't stored inside the cached repository). I can browse the repository by entering a real repository path in the URL, as http://trac.site.url/browse/repos/real/path/. Alas that's not the behaviour I was expecting for.
Is there an easy way to enable repository browsing from workspace_name/ ? Do I need to store the workspace mapped pathes in the cached repository instead of the real pathes ?
Change History (5)
comment:1 Changed 7 years ago by ttressieres
- Owner changed from lewisbaker to ttressieres
- Status changed from new to assigned