changeset 8102:18710802cd49

Merge with crew-stable
author Patrick Mezard <pmezard@gmail.com>
date Tue, 21 Apr 2009 16:02:59 +0200
parents 233f11b544f5 (current diff) d8229670710f (diff)
children 2a4a71b15e95 0eeb4f0a5d21
files hgext/convert/monotone.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/monotone.py	Tue Apr 21 14:25:36 2009 +0200
+++ b/hgext/convert/monotone.py	Tue Apr 21 16:02:59 2009 +0200
@@ -112,6 +112,8 @@
                 value = value.replace(r'\"', '"')
                 value = value.replace(r'\\', '\\')
                 certs[name] = value
+        # Monotone may have subsecond dates: 2005-02-05T09:39:12.364306
+        certs["date"] = certs["date"].split('.')[0]
         return certs
 
     # implement the converter_source interface: