Edgewall Software
Modify

Opened 4 years ago

Last modified 13 months ago

#13349 new defect

Changesets are shown without repository name in search view

Reported by: Jun Omae Owned by:
Priority: normal Milestone: 1.6.1
Component: search system Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I think we should show changesets with repository name. Currently, all changesets are shown without repository name even if the repository is not default.

Example
[662]: merge r661 from trunk into 0.9 maintenance branch in demo-1.2:search:maintenance?noquickjump=1&changeset=on
Should be
[662/babel.svn]: merge r661 from trunk into 0.9 maintenance branch
  • trac/versioncontrol/web_ui/changeset.py

    diff --git a/trac/versioncontrol/web_ui/changeset.py b/trac/versioncontrol/web_ui/changeset.py
    index 7563f2351..271e3bbcb 100644
    a b class ChangesetModule(Component):  
    11541154                cset = repos.resource.child(self.realm, rev)
    11551155                if 'CHANGESET_VIEW' in req.perm(cset):
    11561156                    uids_seen.add(uid)
     1157                    if repos.reponame:
     1158                        drev = '%s/%s' % (drev, repos.reponame)
    11571159                    yield (req.href.changeset(rev, repos.reponame or None),
    11581160                           '[%s]: %s' % (drev, shorten_line(log)),
    11591161                           from_utimestamp(ts), author,

Attachments (0)

Change History (3)

comment:1 by Ryan J Ollos, 3 years ago

Milestone: 1.4.31.4.4

comment:2 by Ryan J Ollos, 3 years ago

Milestone: 1.4.41.4.5

comment:3 by Ryan J Ollos, 14 months ago

Milestone: 1.4.51.6.1

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.