mercurial/util.py
changeset 5353 c6adf2be6069
parent 5293 32ec518ee3cb
child 5356 b98c377b3c16
--- a/mercurial/util.py
+++ b/mercurial/util.py
@@ -1468,7 +1468,7 @@ def datestr(date=None, format='%a %b %d 
         s += timezone_format % (-tz / 3600, ((-tz % 3600) / 60))
     return s
 
-def strdate(string, format, defaults):
+def strdate(string, format, defaults=[]):
     """parse a localized time string and return a (unixtime, offset) tuple.
     if the string cannot be parsed, ValueError is raised."""
     def timezone(string):