--- 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