From d514b777298f0c0d039515dce4f10fc08af0c20b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 15 Nov 2007 14:50:56 -0500 Subject: web commit by http://svend.myopenid.com/: Added bug. --- ...e_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn diff --git a/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn b/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn new file mode 100644 index 000000000..4497d9d01 --- /dev/null +++ b/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn @@ -0,0 +1,11 @@ +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 + +This creates links to the hgweb page which is equivalent to the Git file history page. (Markdown code contains escape.) \ No newline at end of file -- cgit v1.2.3 From a9f4b805f0c8a8b8c6dc90b3fa5efa9edc2319b2 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 15 Nov 2007 14:54:10 -0500 Subject: web commit by http://svend.myopenid.com/: The code showed up correctly in the preview, but the rendered page contained a link. --- .../example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn b/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn index 4497d9d01..fd5ad135f 100644 --- a/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn +++ b/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn @@ -6,6 +6,6 @@ The current historyurl is: A link to the history page for the file would be: - #historyurl => "http://localhost:8000/log/tip/\[[file]]", # hg serve'd local repository + #historyurl => "http://localhost:8000/log/tip/[[file]]", # hg serve'd local repository -This creates links to the hgweb page which is equivalent to the Git file history page. (Markdown code contains escape.) \ No newline at end of file +This creates links to the hgweb page which is equivalent to the Git file history page. \ No newline at end of file -- cgit v1.2.3 From bdb065ca125ef9c7b3993e6301fb5d92f73f0071 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 15 Nov 2007 14:56:50 -0500 Subject: web commit by http://svend.myopenid.com/: Trying a different escape. --- .../example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn b/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn index fd5ad135f..67578c4f4 100644 --- a/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn +++ b/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn @@ -6,6 +6,6 @@ The current historyurl is: A link to the history page for the file would be: - #historyurl => "http://localhost:8000/log/tip/[[file]]", # hg serve'd local repository + #historyurl => "http://localhost:8000/log/tip/[\[file]]", # hg serve'd local repository This creates links to the hgweb page which is equivalent to the Git file history page. \ No newline at end of file -- cgit v1.2.3 From d29c485a8c8c0e75c8622ef5050b327180ad632c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 15 Nov 2007 14:58:41 -0500 Subject: web commit by http://svend.myopenid.com/: Added note about backslash. --- .../example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn b/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn index 67578c4f4..e1f03d47c 100644 --- a/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn +++ b/doc/bugs/example_Mercurial_historyurl_doesn__39__t_show_file_history.mdwn @@ -8,4 +8,6 @@ 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. \ No newline at end of file -- cgit v1.2.3