Edgewall Software
Modify

Opened 9 years ago

Last modified 9 years ago

#12121 new defect

Subversion copies could show peg revision in browser view

Reported by: Ryan J Ollos Owned by:
Priority: normal Milestone: next-major-releases
Component: version control/browser Version:
Severity: normal Keywords: svn
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Here is an example from the browser view:

  • Projects/Presto/Software/tags/urs_1.02.06 (copied) (copied from Projects/Presto/Software/branches/REL-1.xx-URS)
  • The proposed change is to show the peg revision in the path:

  • Projects/Presto/Software/tags/urs_1.02.06 (copied) (copied from Projects/Presto/Software/branches/REL-1.xx-URS@10603)
  • Attachments (0)

    Change History (1)

    comment:1 by Ryan J Ollos, 9 years ago

    We could implement this change:

    • trac/versioncontrol/templates/changeset.html

      diff --git a/trac/versioncontrol/templates/changeset.html b/trac/versioncontrol/templates/changeset.html
      index 6dd00ec..4c9fd32 100644
      a b  
      119119          </py:choose>
      120120          <span class="comment">($kind)</span>
      121121          <py:if test="item.old and item.old.get('path') and item.change == 'copy' or item.change == 'move'">
      122             <small><em i18n:msg="kind, old_path">
       122            <small><em i18n:msg="kind, old_path, shortrev">
      123123              ($kind from <a href="$item.old.href"
      124124                             title="${_('Show original file (revision %(old_rev)s)', old_rev=display_rev(item.old.rev))}">
      125                 $item.old.path</a>)
       125                $item.old.path${('@%s' % item.old.shortrev) if item.change == 'copy' else None}</a>)
      126126            </em></small>
      127127          </py:if>
      128128          <py:choose>

    However, I noticed the revision is shown in the tooltip.

    Modify Ticket

    Change Properties
    Set your email in Preferences
    Action
    as new The ticket will remain with no owner.
    The ticket will be disowned.
    as The resolution will be set. Next status will be 'closed'.
    The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

    Add Comment


    E-mail address and name can be saved in the Preferences .
     
    Note: See TracTickets for help on using tickets.