changeset 26:fa1215cee8c4

abort: ":" cannot be used in the name of a patch
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 07 Dec 2012 15:31:24 -0800
parents 295112b3e143
children bd358da5c346
files mozillatry.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mozillatry.py	Fri Dec 07 15:28:44 2012 -0800
+++ b/mozillatry.py	Fri Dec 07 15:31:24 2012 -0800
@@ -54,7 +54,7 @@
                 shutil.rmtree(patches)
             call(['hg', 'qinit'], cwd=repo)
             # TODO: ensure there's something to commit
-            call(['hg', 'qnew', datetime.datetime.now().isoformat()], cwd=repo)
+            call(['hg', 'qnew', datetime.datetime.now().strftime("%Y%m%d%H%M%S")], cwd=repo)
 
         # apply patches
         for patch in patches: