aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn
blob: 390449dd367d1955890947d50f9fec752d62511a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
The Mercurial historyurl in the example ikiwiki.setup file creates a link to the repo's summary page.  It should take you to the history page for the file, like the example Git historyurl does.

The current historyurl is:

    #historyurl => "http://localhost:8000/", # hg serve'd local repository

A link to the history page for the file would be:

    #historyurl => "http://localhost:8000/log/tip/\[[file]]", # hg serve'd local repository

*The backslash in the code should be removed.*

> To escape a link, use `\\[[link]]`. Example: \[[link]] --[[Joey]]

> ([[done]], BTW)

This creates links to the hgweb page which is equivalent to the Git file history page.