whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: No need for tag to be provided
Date Fri, 29 Nov 2019 12:44:44 GMT
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 88967ea  No need for tag to be provided
88967ea is described below

commit 88967ea0335222f60285699533b371e19710a32b
Author: Sebb <sebb@apache.org>
AuthorDate: Fri Nov 29 12:44:34 2019 +0000

    No need for tag to be provided
---
 lib/whimsy/asf/svn.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/whimsy/asf/svn.rb b/lib/whimsy/asf/svn.rb
index 95d4f99..8add134 100644
--- a/lib/whimsy/asf/svn.rb
+++ b/lib/whimsy/asf/svn.rb
@@ -522,13 +522,13 @@ module ASF
     # get listing if it has changed
     # @param
     # - name: alias for SVN checkout
-    # - tag: previous tag to check for changes
+    # - tag: previous tag to check for changes, default nil
     # - trimSlash: whether to trim trailing '/', default true
     # @return tag, Array of names
     # or tag, nil if unchanged
     # or Exception if error
     # The tag should be regarded as opaque
-    def self.getlisting(name, tag, trimSlash = true)
+    def self.getlisting(name, tag=nil, trimSlash = true)
       listfile, _ = self.listingNames(name)
       curtag = "%s:%d" % [trimSlash, File.mtime(listfile)]
       if curtag == tag


Mime
View raw message