Subversion 1.8 seems to have a problem if you force add from external directory that... 1.4.13
authorPeter Donald <donaldp@apache.org>
Sun, 6 Oct 2013 07:22:16 +0000 (07:22 +0000)
committerPeter Donald <donaldp@apache.org>
Sun, 6 Oct 2013 07:22:16 +0000 (07:22 +0000)
git-svn-id: https://svn.apache.org/repos/asf/buildr/trunk@1529578 13f79535-47bb-0310-9956-ffa450edef68

rakelib/doc.rake

index 72e46ad..5ddf6c3 100644 (file)
@@ -109,7 +109,9 @@ task 'publish-doc' => %w(buildr.pdf _site setup-local-site-svn) do
 end
 
 task 'publish-site-svn' do
-  sh 'svn', 'add', '--force', 'site'
+  cd 'site'
+  sh 'svn', 'add', '--force', '.'
+  cd '..'
   sh 'svn', 'commit', 'site', '-m', 'Publish latest site'
 end