7 | | At the toplevel of the repository browser, you'll find the '''Repository Index''', listing all the configured repositories. |
8 | | A repository has a name which is used as a path prefix in a "virtual" file hierarchy encompassing all the available repositories. If a default repository has been configured, its toplevel files and folders are also listed, in a '''Default Repository''' section placed before the repository index. The latter will be omitted if the default repository is the only repository associated to the Trac environment^[#note-multirepos (1)]^. |
| 7 | ''(since 0.12)'': |
| 8 | At the top-level of the repository browser is the '''Repository Index''', |
| 9 | listing all the configured repositories. |
| 10 | Each repository has a name which is used as a path prefix in a |
| 11 | "virtual" file hierarchy encompassing all the available repositories. |
| 12 | If a default repository has been configured, its top-level files and directories |
| 13 | are also listed, in a '''Default Repository''' section placed before the |
| 14 | repository index. If the default repository is the only repository associated |
| 15 | with the Trac environment the '''Repository Index''' will be omitted ^[#note-multirepos (1)]^. |
16 | | by clicking on the directory names. Clicking on a file name will show |
17 | | the contents of the file. Clicking on the revision number of a file or |
18 | | directory will take you to the TracRevisionLog for that file. |
19 | | Note that there's also a ''Revision Log'' navigation link that will do |
20 | | the same for the path currently being examined. |
| 23 | by clicking on the directory names. |
| 24 | Clicking on a file name will show the contents of the file. |
| 25 | Clicking on the revision number of a file or directory will take |
| 26 | you to the TracRevisionLog for that file. |
| 27 | Note that there's also a ''Revision Log'' navigation link that will do the |
| 28 | same for the path currently being examined. |
| 29 | Clicking on the ''diff'' icon after revision number will display the changes made |
| 30 | to the files modified in that revision. |
| 31 | Clicking on the ''Age'' of the file - will take you to that changeset in the timeline. |
| 32 | |
| 33 | {{{#!div style="background:#efe" |
| 34 | '''MMM''' there is no ''View revision'' input field at the top of the Repository Browser page. |
| 35 | I found out why. There are actually two views for the repository browser in 0.12 ... |
| 36 | a) Before you in a particular repo (http://localhost/test_env/browser) |
| 37 | b) After you are in a particular repo (http://localhost/test_env/browser/MyProject) |
| 38 | |
| 39 | I don't currently know which view it goes to if you only have a default repo. |
34 | | The precise meaning and content of this menu depends on your backend. |
35 | | For Subversion, this list contains by default the top-level trunk directory and sub-directories of the top-level branches and tags directories (`/trunk`, `/branches/*`, and `/tags/*`). This can be [TracIni#svn-section configured] for more advanced cases. |
| 56 | The precise meaning and content of this menu depends on your repository backend. |
| 57 | For Subversion, this list contains by default the top-level trunk directory |
| 58 | and sub-directories of the top-level branches and tags directories |
| 59 | (`/trunk`, `/branches/*`, and `/tags/*`). This can be [TracIni#svn-section configured] |
| 60 | for more advanced cases. |
49 | | - Support for browsing the `svn:externals` property (which can be [TracIni#svn:externals-section configured]) |
50 | | - The `svn:mime-type` property is used to select the syntax highlighter for rendering the file. For example, setting `svn:mime-type` to `text/html` will ensure the file is highlighted as HTML, regardless of the file extension. It also allows selecting the character encoding used in the file content. For example, if the file content is encoded in UTF-8, set `svn:mime-type` to `text/html;charset=utf-8`. The `charset=` specification overrides the default encoding defined in the `default_charset` option of the `[trac]` section of [TracIni#trac-section trac.ini]. |
| 82 | - Support for browsing the `svn:externals` property |
| 83 | (which can be [TracIni#svn:externals-section configured]) |
| 84 | - The `svn:mime-type` property is used to select the syntax highlighter for rendering |
| 85 | the file. For example, setting `svn:mime-type` to `text/html` will ensure the file is |
| 86 | highlighted as HTML, regardless of the file extension. It also allows selecting the character |
| 87 | encoding used in the file content. For example, if the file content is encoded in UTF-8, |
| 88 | set `svn:mime-type` to `text/html;charset=utf-8`. The `charset=` specification overrides the |
| 89 | default encoding defined in the `default_charset` option of the `[trac]` section |
| 90 | of [TracIni#trac-section trac.ini]. |
| 91 | {{{#!div style="background:#efe" |
| 92 | I found this section a bit hard to understand. I changed the first item as I understood that well. |
| 93 | but I think the other items could be changed also |
| 94 | }}} |
| 95 | |