monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Re: [Monotone-devel] Bug in mtn cvs_import; timestamps off by fa


From: Rasmus Kaj
Subject: [PATCH] Re: [Monotone-devel] Bug in mtn cvs_import; timestamps off by factor 1000
Date: Fri, 14 Aug 2009 13:23:13 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2

At 2009-08-14 10:33, Rasmus Kaj wrote:

Ok, I've built myself a monotone 0.45dev (base revision:
fd2c1878098b47438dd3fdba59de96c2c1ac8776), and it still has the problem.

The following patch seems to fix it:

#
# old_revision [56036df6583fe11869e5a96193fdeb3693d879cc]
#
# patch "rcs_import.cc"
#  from [7ccb590276323894fa8236315ceba8fa49c26aac]
#    to [db761c15e74da8ebc2e3209b8bc52e10f9ebe2c9]
#
============================================================
--- rcs_import.cc       7ccb590276323894fa8236315ceba8fa49c26aac
+++ rcs_import.cc       db761c15e74da8ebc2e3209b8bc52e10f9ebe2c9
@@ -1371,7 +1371,7 @@ cluster_consumer::store_auxiliary_certs(
                              branch_name(branchname, origin::user),

utf8(cvs.changelog_interner.lookup(p.changelog),
                                   origin::internal),
-                             date_t(p.time),
+                             date_t(p.time*1000),
                              cvs.author_interner.lookup(p.author));
 }



--
Rasmus Kaj -- address@hidden -- 08-790 67 21 -- Infosys, KTH
Personligt: http://rasmus.krats.se/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]