Merge with crew-stable
authorPatrick Mezard <pmezard@gmail.com>
Tue, 21 Apr 2009 16:02:59 +0200
changeset 8102 18710802cd49
parent 8100 233f11b544f5 (current diff)
parent 8101 d8229670710f (diff)
child 8103 2a4a71b15e95
child 8107 0eeb4f0a5d21
Merge with crew-stable
hgext/convert/monotone.py
--- 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: