aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn
blob: e1f03d47c87c28096f5bac7ec2c60127fed17c2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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.*

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