Modify ↓
      
Opened 5 years ago
Last modified 2 years 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 branchin 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): 1154 1154 cset = repos.resource.child(self.realm, rev) 1155 1155 if 'CHANGESET_VIEW' in req.perm(cset): 1156 1156 uids_seen.add(uid) 1157 if repos.reponame: 1158 drev = '%s/%s' % (drev, repos.reponame) 1157 1159 yield (req.href.changeset(rev, repos.reponame or None), 1158 1160 '[%s]: %s' % (drev, shorten_line(log)), 1159 1161 from_utimestamp(ts), author,  
Attachments (0)
Change History (3)
comment:1 by , 4 years ago
| Milestone: | 1.4.3 → 1.4.4 | 
|---|
comment:2 by , 4 years ago
| Milestone: | 1.4.4 → 1.4.5 | 
|---|
comment:3 by , 2 years ago
| Milestone: | 1.4.5 → 1.6.1 | 
|---|
  Note:
 See   TracTickets
 for help on using tickets.
    

