Edgewall Software

Changes between Version 38 and Version 39 of TracBrowser


Ignore:
Timestamp:
Mar 31, 2015, 11:05:18 AM (9 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • TracBrowser

    v38 v39  
    1 = The Trac Repository Browser =
     1= The Trac Repository Browser
     2
    23[[TracGuideToc]]
    34[[TranslatedPages]]
    45
    5 The Trac repository browser can be used to browse specific revisions of directories
    6 and files stored in the repositories associated with the Trac environment.
     6The Trac repository browser can be used to browse specific revisions of directories and files stored in the repositories associated with the Trac environment.
    77
    8 ''(since 0.12)'':
    9 At the top-level of the repository browser is the '''Repository Index''',
    10 listing all the configured repositories.
    11 Each repository has a name which is used as a path prefix in a
    12 "virtual" file hierarchy encompassing all the available repositories.
    13 One of the repositories can be configured with an empty name; this is the default repository.  When such a default repository is present, its top-level files and directories
    14 are also listed, in a '''Default Repository''' section placed before the
    15 repository index. If the default repository is the only repository associated
    16 with the Trac environment the '''Repository Index''' will be omitted ^[#note-multirepos (1)]^.
     8At the top-level of the repository browser is the '''Repository Index''', listing all the configured repositories.
     9Each repository has a name which is used as a path prefix in a "virtual" file hierarchy encompassing all the available repositories.
     10One of the repositories can be configured with an empty name; this is the default repository. When such a default repository is present, its top-level files and directories are also listed, in a '''Default Repository''' section placed before the repository index. If the default repository is the only repository associated with the Trac environment, then the '''Repository Index''' will be omitted. This means that after upgrading a single-repository Trac of version 0.11 (or earlier) to a multi-repository Trac (0.12), the repository browser will look and feel the same, that single repository becoming automatically the "default" repository.
    1711
    18 Directory entries are displayed in a list with sortable columns. The list
    19 entries can be sorted by ''Name'', ''Size'', ''Age'' or ''Author'' by clicking on the column
    20 headers. The sort order can be reversed by clicking on a given column
    21 header again.
     12Directory entries are displayed in a list with sortable columns. The list entries can be sorted by ''Name'', ''Size'', ''Age'' or ''Author'' by clicking on the column headers. The sort order can be reversed by clicking on a given column header again.
    2213
    23 The browser can be used to navigate through the directory structure
    24 by clicking on the directory names.
     14The browser can be used to navigate through the directory structure by clicking on the directory names.
    2515Clicking on a file name will show the contents of the file.
    26 Clicking on the revision number of a file or directory will take
    27 you to the TracRevisionLog for that file.
    28 Note that there's also a ''Revision Log'' navigation link that will do the
    29 same for the path currently being examined.
    30 Clicking on the ''diff'' icon after revision number will display the changes made
    31 to the files modified in that revision.
     16Clicking on the revision number of a file or directory will take you to the TracRevisionLog for that file.
     17Note that there's also a ''Revision Log'' navigation link that will do the same for the path currently being examined.
     18Clicking on the ''diff'' icon after revision number will display the changes made to the files modified in that revision.
    3219Clicking on the ''Age'' of the file - will take you to that changeset in the timeline.
    3320
    34 It's also possible to browse directories or files as they were in history,
    35 at any given repository revision. The default behavior is to display the
    36 latest revision but another revision number can easily be selected using
    37 the ''View revision'' input field at the top of the page.
     21It's also possible to browse directories or files as they were in history, at any given repository revision. The default behavior is to display the latest revision but another revision number can easily be selected using the ''View revision'' input field at the top of the page.
    3822
    39 The color bar next to the ''Age'' column gives a visual indication of the age
    40 of the last change to a file or directory, following the convention that
    41 '''[[span(style=color:#88f,blue)]]''' is oldest and '''[[span(style=color:#f88,red)]]'''
    42 is newest, but this can be [TracIni#browser-section configured].
     23The color bar next to the ''Age'' column gives a visual indication of the age of the last change to a file or directory, following the convention that '''[[span(style=color:#88f,blue)]]''' is oldest and '''[[span(style=color:#f88,red)]]''' is newest, but this can be [TracIni#browser-section configured].
    4324
    44 At the top of the browser page, there's a ''Visit'' drop-down menu which you can use
    45 to select some interesting places in the repository, for example branches or tags.
     25At the top of the browser page, there's a ''Visit'' drop-down menu which you can use to select some interesting places in the repository, for example branches or tags.
    4626This is sometimes referred to as the ''browser quickjump'' facility.
    4727The precise meaning and content of this menu depends on your repository backend.
    48 For Subversion, this list contains by default the top-level trunk directory
    49 and sub-directories of the top-level branches and tags directories
    50 (`/trunk`, `/branches/*`, and `/tags/*`).  This can be [TracIni#svn-section configured]
    51 for more advanced cases.
     28For 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.
    5229
    53 If you're using a Javascript enabled browser, you'll be able to expand and
    54 collapse directories in-place by clicking on the arrow head at the right side of a
    55 directory. Alternatively, the [trac:TracKeys keyboard] can also be used for this:
     30If you're using a Javascript enabled browser, you'll be able to expand and collapse directories in-place by clicking on the arrow head at the right side of a directory. Alternatively, the [trac:TracKeys keyboard] can also be used for this:
    5631 - use `j` and `k` to select the next or previous entry, starting with the first
    5732 - `o` ('''o'''pen) to toggle between expanded and collapsed state of the selected
     
    6338If no row has been selected using `j` or `k` these keys will operate on the entry under the mouse.
    6439
    65 
    6640For the Subversion backend, some advanced additional features are available:
    67  - The `svn:needs-lock` property will be displayed
    68  - Support for the `svn:mergeinfo` property showing the merged and eligible information
    69  - Support for browsing the `svn:externals` property
    70    (which can be [TracIni#svn:externals-section configured])
    71  - The `svn:mime-type` property is used to select the syntax highlighter for rendering
    72    the file. For example, setting `svn:mime-type` to `text/html` will ensure the file is
    73    highlighted as HTML, regardless of the file extension. It also allows selecting the character
    74    encoding used in the file content. For example, if the file content is encoded in UTF-8,
    75    set `svn:mime-type` to `text/html;charset=utf-8`. The `charset=` specification overrides the
    76    default encoding defined in the `default_charset` option of the `[trac]` section
    77    of [TracIni#trac-section trac.ini].
     41 - The `svn:needs-lock` property will be displayed.
     42 - Support for the `svn:mergeinfo` property showing the merged and eligible information.
     43 - Support for browsing the `svn:externals` property, which can be [TracIni#svn:externals-section configured].
     44 - 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].
    7845{{{#!comment
    7946MMM: I found this section a bit hard to understand. I changed the first item as I understood that well.
     
    8249}}}
    8350
    84 
    8551----
    86 {{{#!div style="font-size:85%"
    87 [=#note-multirepos (1)] This means that after upgrading a single-repository Trac of version
    88 0.11 (or below) to a multi-repository Trac (0.12), the repository browser will look and feel
    89 the same, that single repository becoming automatically the "default" repository.
    90 }}}
    91 
    9252See also: TracGuide, TracChangeset, TracFineGrainedPermissions