contrib/synthrepo.py
changeset 36607 c6061cadb400
parent 36299 238646784294
child 38408 6540333acb95
--- a/contrib/synthrepo.py	Thu Feb 08 23:27:24 2018 +0530
+++ b/contrib/synthrepo.py	Thu Feb 15 17:18:26 2018 +0100
@@ -59,8 +59,8 @@
     patch,
     registrar,
     scmutil,
-    util,
 )
+from mercurial.utils import dateutil
 
 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
@@ -382,7 +382,7 @@
         message = 'synthesized wide repo with %d files' % (len(files),)
         mc = context.memctx(repo, [pctx.node(), nullid], message,
                             files, filectxfn, ui.username(),
-                            '%d %d' % util.makedate())
+                            '%d %d' % dateutil.makedate())
         initnode = mc.commit()
         if ui.debugflag:
             hexfn = hex