Bring back the svnrepo setup file option. This is needed for recentchangediff to...
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 17 Apr 2008 18:37:55 +0000 (14:37 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 17 Apr 2008 18:37:55 +0000 (14:37 -0400)
debian/NEWS
debian/changelog
doc/ikiwiki.setup
doc/setup.mdwn
doc/usage.mdwn
t/svn.t

index 658fc0041f4136253a187bdeabd8548be6fb34a1..983d1ae9d969044a20d2c0dff0c3150d930ab17f 100644 (file)
@@ -49,8 +49,8 @@ ikiwiki (2.30) unstable; urgency=low
   from this version. If you were subscribed to commit mails, you should be
   able to accomplish the same thing by subscribing to a RecentChanges feed.
 
-  The "svnrepo" and "notify" fields in setup files are no longer used, and
-  silently ignored. You may want to remove them from your setup file.
+  The "notify" field in setup files is no longer used, and
+  silently ignored. You may want to remove it from your setup file.
 
  -- Joey Hess <joeyh@debian.org>  Tue, 29 Jan 2008 17:18:31 -0500
 
index fc8b588603daef044f4e24155d9910063fa5697c..2b3b756f8e2de91d2dba1ef506dac6612762ab57 100644 (file)
@@ -1,3 +1,10 @@
+ikiwiki (2.44) UNRELEASED; urgency=low
+
+  * Bring back the svnrepo setup file option. This is needed for
+    recentchangediff to work with svn repos.
+
+ -- Joey Hess <joeyh@debian.org>  Thu, 17 Apr 2008 14:33:54 -0400
+
 ikiwiki (2.43) unstable; urgency=low
 
   * Fix missing import of escapeHTML in userlink. (Scott Bronson)
index 039ebb127bb451d0d0783c229c11d82cd5b806c7..885f77813b8865ab8b32fed7c1cfe306639044a2 100644 (file)
@@ -23,6 +23,7 @@ use IkiWiki::Setup::Standard {
        #rcs => "svn",
        #historyurl => "http://svn.example.org/trunk/[[file]]",
        #diffurl => "http://svn.example.org/trunk/[[file]]?root=wiki&amp;r1=[[r1]]&amp;r2=[[r2]]",
+       #svnrepo => "/svn/wiki",
        #svnpath => "trunk",
 
        # Git stuff.
index 7f3f6840df1e06ecf2748c129539a7abfe990c32..6aabf53db83f482ac4f391c58acc85fe1fa54a5f 100644 (file)
@@ -186,7 +186,8 @@ about using the git repositories.
 Once your wiki is checked in to the revision control system,
 you should configure ikiwiki to use revision control. Edit your
 ikiwiki.setup, and uncomment the lines for the revision control system
-you chose to use. Uncomment the block for the wrapper for your revision
+you chose to use. Be sure to set `svnrepo` to $REPOSITORY, if using
+subversion. Uncomment the block for the wrapper for your revision
 control system, and configure the wrapper path in that block
 appropriately (for Git, it should be `$REPOSITORY/hooks/post-update`).
 
index 4c08c5b39cd554c8e5ce84bd1da916b0a224d8f5..82e443beabb41ac7e85055677e4e6eb1e86f3139 100644 (file)
@@ -144,6 +144,10 @@ configuration options of their own.
 
   No revision control is enabled by default.
 
+* --svnrepo /svn/wiki
+
+  Specify the location of the svn repository for the wiki.
+
 * --svnpath trunk
 
   Specify the path inside your svn repository where the wiki is located.
diff --git a/t/svn.t b/t/svn.t
index 8a8282c73340b8f8095204f24031a3a7a14534c0..eba8c65ef1d025b224ed7d8952fb71ae48754857 100755 (executable)
--- a/t/svn.t
+++ b/t/svn.t
@@ -21,6 +21,7 @@ BEGIN { use_ok("IkiWiki"); }
 %config=IkiWiki::defaultconfig();
 $config{rcs} = "svn";
 $config{srcdir} = "$dir/src";
+$config{svnrepo} = "$dir/repo";
 $config{svnpath} = "trunk";
 IkiWiki::checkconfig();