##// END OF EJS Templates
remove branch from git filenode history drop-down
marcink -
r2046:4e1e265a beta
parent child Browse files
Show More
@@ -464,9 +464,10 b' class FilesController(BaseRepoController'
464 changesets_group = ([], _("Changesets"))
464 changesets_group = ([], _("Changesets"))
465 branches_group = ([], _("Branches"))
465 branches_group = ([], _("Branches"))
466 tags_group = ([], _("Tags"))
466 tags_group = ([], _("Tags"))
467
467 _hg = cs.repository.alias == 'hg'
468 for chs in changesets:
468 for chs in changesets:
469 n_desc = 'r%s:%s (%s)' % (chs.revision, chs.short_id, chs.branch)
469 _branch = '(%s)' % chs.branch if _hg else ''
470 n_desc = 'r%s:%s %s' % (chs.revision, chs.short_id, _branch)
470 changesets_group[0].append((chs.raw_id, n_desc,))
471 changesets_group[0].append((chs.raw_id, n_desc,))
471
472
472 hist_l.append(changesets_group)
473 hist_l.append(changesets_group)
General Comments 0
You need to be logged in to leave comments. Login now