Changes between Version 4 and Version 5 of TracBrowser
- Timestamp:
- Nov 13, 2011, 3:47:29 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracBrowser
v4 v5 2 2 [[TracGuideToc]] 3 3 4 The Trac repository browser can be used to browse directories 5 and specific revisions of files stored in the repository of the configured 6 version control system. 4 The Trac repository browser can be used to browse specific revisions of directories 5 and files stored in the repository of the configured version control system. 7 6 8 7 Directory entries are displayed in a list with sortable columns. The list … … 25 24 ''(since 0.11)'': 26 25 26 The color bar next to the Age column gives a visual indication of the age 27 of the last change to a file or directory. In the default configuration, 28 blue is older and red is newer, but this can be [TracIni#browser-section configured]. 29 27 30 At the top of the browser page, there's a drop-down menu which you can use 28 31 to select some interesting places in the repository, for example branches or tags. 29 32 This is sometimes referred to as the ''browser quickjump'' facility. 30 33 The precise meaning and content of this menu depends on your backend. 31 For Subversion, this list contains by default a few branches (`trunk` and any sub-folder of the latest `branches` top-level folder) and a few tags (any sub-folder of the latest `tags` top-level folder).This can be [TracIni#svn-section configured] for more advanced cases.34 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. 32 35 33 If you're using a Javascript enabled brow er, you'll be able to expand and collapse folders in-place by clicking on the arrow head at the right side of a folder. Alternatively, the keyboardcan also be used for this: use 'j' and 'k' to go to the next or previous entry, and 'o' (or 'Enter') to toggle between expanded and collapsed state of the selected folder or for visiting the selected file.36 If you're using a Javascript enabled browser, you'll be able to expand and collapse folders in-place by clicking on the arrow head at the right side of a folder. Alternatively, the [trac:TracKeys keyboard] can also be used for this: use 'j' and 'k' to go to the next or previous entry, and 'o' (or 'Enter') to toggle between expanded and collapsed state of the selected folder or for visiting the selected file. 34 37 35 38 For the Subversion backend, some additional features are available: 36 - support for `svn:needs-lock` property 37 - support for `svn:externals` property (which can be [TracIni#svn:externals-section configured]) 39 - Displays the `svn:needs-lock` property 40 - Support for the `svn:externals` property (which can be [TracIni#svn:externals-section configured]) 41 - 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]. 38 42 39 43 ----