Login
Diff
Login

Differences From Artifact [939e19f1d9]:

To Artifact [e0fbdeb3eb]:


1
2
3
4
5







6
7
8
9
10
11
12
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19





+
+
+
+
+
+
+







const CGI = api.cgi
const F = Fossil.cx
const out = api.io.output

CGI.setContentType('text/plain')


if(+CGI.getVar('showSrc',false)){
    Fossil.file.passthrough(__FILE)
    return
}


out("Timeline of recent repository events for project ", F.getProjectName(),"...\n\n")

const defaultLimit = 10
var resultLimit = +CGI.getVar('limit', defaultLimit)
if(resultLimit<=0){
  out("The 'limit' value is too small. Using the default.\n\n")
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
63
64
65
66
67
68
69















-
-
-
-
-
-
-
-
        out("%1$s @ %2$s [%3$.12s] by [%4$s]".
                  applyFormat( labels.(this.3), this.1, this.0, this.2) )
        this.4 && out(" in branch [%1$s]".applyFormat(this.4))
        out("\n\t",this.5,"\n\n")
        return rowNumber!==resultLimit
    }.importSymbols('out'/*just a minor optimization*/)
})

if(+CGI.getVar('showSrc',false)){
    out("The entire contents of this script file follow:\n",
        {========================================================================},
        "\n")

    out(slurpFile(__FILE))
}