You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/12/30 16:49:55 UTC

[whimsy] branch master updated: Needs user credentials

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 bed34cc  Needs user credentials
bed34cc is described below

commit bed34cc16821958b86da18fc2c34231131f4d4e6
Author: Sebb <se...@apache.org>
AuthorDate: Wed Dec 30 16:49:46 2020 +0000

    Needs user credentials
---
 lib/whimsy/asf/documents.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/documents.rb b/lib/whimsy/asf/documents.rb
index 71e1a16..719ddb5 100644
--- a/lib/whimsy/asf/documents.rb
+++ b/lib/whimsy/asf/documents.rb
@@ -98,7 +98,7 @@ module ASF
       age = (Time.now - begin File.mtime(file) rescue 0 end).to_i
       if age > 600 # 5 minutes
         Wunderbar.warn "Updating listing #{file} #{age}"
-        filerev, svnrev = ASF::SVN.updatelisting(iclas, nil, nil, false, cache_dir)
+        filerev, svnrev = ASF::SVN.updatelisting(iclas, env.user, env.password, false, cache_dir)
         if filerev && svnrev # it worked
           FileUtils.touch file # last time it was checked
         end