Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix time converting multiply by 1000000

  • Loading branch information...
commit a59deb424de490dab7c4ed2c055ae4477aecc787 1 parent 2b95d0b
bk authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mercurialchangeset/admin.py
View
2  mercurialchangeset/admin.py
@@ -212,7 +212,7 @@ def sync_revision(self, revision):
# If revision is not already in Trac's revision table, insert it
if not(self.check_revision(rev, rev_hash)):
description = ctx.description().decode(self.hg_encoding)
- time = ctx.date()[0]
+ time = ctx.date()[0]*1000000
author = ctx.user().decode(self.hg_encoding)
#self.log.debug("Inserting revision %s" % rev + ":" + rev_hash)
self.insert_revision(self.repository_id, rev, rev_hash, time, author, description)
Please sign in to comment.
Something went wrong with that request. Please try again.