Mercurial cgi界面中是否有任何函数文档?

时间:2010-05-06 19:52:19

标签: mercurial cgi

我正在尝试获取有关Mercurial cgi网页所服务的不同网页的一些信息。但是我找不到任何有用的东西。偶然我偶然发现了 raw-rev 页面。任何人都有一些有效的文档链接?

1 个答案:

答案 0 :(得分:4)

以下是来自最近的mercurial安装的带注释的抓取:

.
|-- annotate/REVID/FILEPATH              # HTML: which user last edited each line of the file
|-- atom-log                             # XML : change feed of changelogs
|-- atom-tags                            # XML : change feed of tags
|-- branches                             # HTML: list of named branches
|-- diff/REVID/FILEPATH                  # HTML: show change made to file by REVID
|-- file[/REVID[/FILEPATH]               # HTML: show file as it stood after REVID
|-- graph[/REVID]                        # HTML: log with visual connectivity graph
|-- log[/REVID/FILEPATH]                 # HTML: list of changesets with metadata
|-- raw-annotate/REVID/FILEPATH          # TEXT: raw output version of annotate
|-- raw-file/REVID/FILEPATH              # TEXT: raw output version of file
|-- raw-rev[/REVID]                      # TEXT: raw output version of rev
|-- rev[/REVID]                          # HTML: show all changes made by REVID
|-- rss-log                              # XML : change feed of changelogs
|-- rss-tags                             # XML : change feed of tags
|-- shortlog[/REVID/FILEPATH]            # HTML: slightly more terse version of log
`-- tags                                 # HTML: listing of tags

列出方法(log,tags,branches,graph,shortlog)取& revcount = N,这限制了输出长度。

找到有效的REVID:hg help revisions

FILEPATH必须从hg root扩展到单个文件,但接受目录的raw-file除外。