~ubuntu-branches/ubuntu/precise/mercurial/precise-updates

« back to all changes in this revision

Viewing changes to mercurial/templates/gitweb/graph.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Danjean, Javi Merino, Vincent Danjean
  • Date: 2010-07-04 09:55:28 UTC
  • mfrom: (1.2.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100704095528-bzag1mhfylss9zth
Tags: 1.6-1
[ Javi Merino ]
* New upstream release (1.6). Many bug fixes and improvements. Among
    them:
  - push: break infinite http recursion bug with Python 2.6.5
       (issue2179 and issue2255) (Closes: #586907)
  - zeroconf: Don't use string exceptions (Closes: #585250)
* Removed patch for_upstream__bashism_in_examples.patch since a fix for
    #581122 is included upstream.
* Updated Standards-Version to 3.9 (no change needed)

[ Vincent Danjean ]
* debian/control:
  + Use Breaks instead of Conflicts
  + Use a fixed version in Replaces
    I put 1.4 but it has been a long time since nothing has been moved
    from mercurial to mercurial-common

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
var graph = new Graph();
51
51
graph.scale({bg_height});
52
52
 
53
 
graph.edge = function(x0, y0, x1, y1, color) {
 
53
graph.edge = function(x0, y0, x1, y1, color) \{
54
54
        
55
55
        this.setColor(color, 0.0, 0.65);
56
56
        this.ctx.beginPath();
65
65
revlink += '</span> _TAGS';
66
66
revlink += '<span class="info">_DATE, by _USER</span></li>';
67
67
 
68
 
graph.vertex = function(x, y, color, parity, cur) {
 
68
graph.vertex = function(x, y, color, parity, cur) \{
69
69
        
70
70
        this.ctx.beginPath();
71
71
        color = this.setColor(color, 0.25, 0.75);
84
84
        item = item.replace(/_DATE/, cur[5]);
85
85
        
86
86
        var tagspan = '';
87
 
        if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) {
 
87
        if (cur[7].length || (cur[6][0] != 'default' || cur[6][1])) \{
88
88
                tagspan = '<span class="logtags">';
89
 
                if (cur[6][1]) {
 
89
                if (cur[6][1]) \{
90
90
                        tagspan += '<span class="branchtag" title="' + cur[6][0] + '">';
91
91
                        tagspan += cur[6][0] + '</span> ';
92
 
                } else if (!cur[6][1] && cur[6][0] != 'default') {
 
92
                } else if (!cur[6][1] && cur[6][0] != 'default') \{
93
93
                        tagspan += '<span class="inbranchtag" title="' + cur[6][0] + '">';
94
94
                        tagspan += cur[6][0] + '</span> ';
95
95
                }
96
 
                if (cur[7].length) {
97
 
                        for (var t in cur[7]) {
 
96
                if (cur[7].length) \{
 
97
                        for (var t in cur[7]) \{
98
98
                                var tag = cur[7][t];
99
99
                                tagspan += '<span class="tagtag">' + tag + '</span> ';
100
100
                        }