This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new a10cd5a  Also need to update parent directory if there are files
a10cd5a is described below

commit a10cd5a47d71b73187fcb27956d17f2290ac8d1c
Author: Sebb <[email protected]>
AuthorDate: Fri Dec 13 18:20:06 2019 +0000

    Also need to update parent directory if there are files
---
 Rakefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Rakefile b/Rakefile
index dc9a953..f190cc5 100644
--- a/Rakefile
+++ b/Rakefile
@@ -161,8 +161,9 @@ namespace :svn do
                 begin
                   r, w = IO.pipe
                   # Note: list the files to update to cater for later additions
+                  # Also update '.' so parent directory shows last changed 
revision for status/svn page
                   if files
-                    svncmd = "svn update #{files.join(' ')}"
+                    svncmd = "svn update . #{files.join(' ')}"
                     puts "#{PREFIX} #{svncmd}"
                   else
                     svncmd = 'svn update'

Reply via email to