update for rename of recentchanges.mdwn to json.tl.ph.mdwn

master
jaysonbaldecanas1986@02a3781ec9b12161d643d2a35782561391092501 2022-10-02 23:03:59 -04:00 committed by admin
parent 7333ea1996
commit 27057001b4
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
The [[RecentChanges]] page is broken (doesn't show any history at all) when used with an empty svnpath in the ikiwiki.setup file.
The [[Json.tl.ph]] page is broken (doesn't show any history at all) when used with an empty svnpath in the ikiwiki.setup file.
Say you have the following configuration:
@ -6,7 +6,7 @@ Say you have the following configuration:
svnrepo => "ssh+svn://foo.bar.com/wiki",
svnpath => "",
In the above, $svnpath need to be either empty or "/" - both trigger the 'next unless' check in IkiWiki/Rcs/svn.pm:rcs_recentchanges() as shown in the patch below, thus causing all files to be ignored for [[RecentChanges]].
In the above, $svnpath need to be either empty or "/" - both trigger the 'next unless' check in IkiWiki/Rcs/svn.pm:rcs_recentchanges() as shown in the patch below, thus causing all files to be ignored for [[Json.tl.ph]].
I can not see why this check is needed in the first place, so here's a patch for removing it :)