All pastes #355357 Raw Edit

Something

public text v1 · immutable
·published 2007-02-14 13:01 UTC
rendered paste body
--- svn.py      (wersja 1119)
+++ svn.py      (kopia robocza)
@@ -110,6 +110,10 @@
             revision = ""
             if 'rev' in parm:
                 revision = parm['rev']
+
+            if date == "now":
+                import time
+                date = time.strftime('%Y%m%d%H%M', time.gmtime())

             if revision:
                 options.append("-r %s" % revision)