Miscellany
public text v1 · immutable+++ svn.py (kopia robocza)
@@ -110,16 +110,19 @@
revision = ""
if 'rev' in parm:
revision = parm['rev']
-
+
if revision:
options.append("-r %s" % revision)
elif date != "now":
options.append("-r {%s}" % date)
+ else:
+ print "now"
+ import time
+ date = time.strftime('%Y%m%d%H%M', time.gmtime())
if revision:
date = ""
-
if user:
options.append("--username %s" % user)