Since we couldn't get the TRAC browsing working using the externals 
property, we opted to restructure our svn projects. Now all the TRAC 
projects will point to top-level svn folders. If time permits, I may 
continue to experiment. Thanks all.

On Thursday, April 14, 2016 at 4:01:59 PM UTC-4, Mary Loftis wrote:
>
> Am I misunderstanding the purpose of the TRAC svn:externals section? 
> Should I be able to browse the source for an external svn property from a 
> TRAC project when the svn repo to which TRAC project points contains an 
> external svn property?
>
>  
>
> Or is the TRAC svn:externals section used to point to a different TRAC 
> project associated with an svn file or folder listed under the TRAC 
> project’s browse source? 
>
> I have 2 svn repos. I use the same svn access control group to give users 
> the same access to the 2 repos.
>
>  
>
> SVN repo1 *https://<my_server>/svn/AAA* <https://%3cmy_server%3e/svn/ares>
>
> This has svn folders under it, ws/sa/BBB
>
>  
>
> SVN repo2 *https://<my_server>/svn/ BBB * 
> <https://%3cmy_server%3e/svn/%20B777X%20>
>
>           This has an svn external property which points to a subfolder 
> under AAA, *https://<my_server>/svn/AAA/ws/sa/ BBB * 
> <https://%3cmy_server%3e/svn/ares/workspaces/systemarchive/b777x>
>
>  
>
> In TortoiseSVN, I can navigate through repo1, *https://<my_server>/svn/AAA 
> and see repo2* <https://%3cmy_server%3e/svn/AAA%20and%20see%20repo2> 
> subfolders starting at https://<my_server>/svn/AAA/ws/sa/ BBB.
>
>  
>
> I created a TRAC project, https://<my_server>/trac/ BBB. 
>
>  
>
> Because TRAC projects seem to want to point to top-level svn folders and 
> not lower-level svn subfolders, I have it pointing to repo2, 
> https://<my_server>/svn/ BBB.
>
>           
>
> In the trac.ini file:
>
>  
>
> [repositories]
>
> BBB.url = *https://<my_server>/svn/BBB* 
> <https://%3cmy_server%3e/svn/B777X>
>
>  
>
> What I want to be able to do is in the TRAC BBB project, browse source so 
> it navigates into the repo1 subfolder starting at ws/sa/BBB. I therefore 
> added the following to the trac.ini file:
>
>  
>
> [svn:externals]
>
> 1 = svn:https://guswla02.utcapp.com/svn/AAA/ws/sa/BBB 
> https://guswla02.utcapp.com/trac/BBB/browser/$path?rev=$rev
>
>  
>
> When I open the BBB TRAC project and browse source, it shows the text, 
> “Property svn:externals set to 
> *https://guswla02.utcapp.com/svn/AAA/ws/sa/BBB* 
> <https://guswla02.utcapp.com/svn/ares/workspaces/systemarchive/B777X> BBB”
>
>  
>
> Note – there is no link, it is just plain text. I cannot browse the source 
> for the external svn property. Is this possible? If so, how?
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to