contrib/synthrepo.py
changeset 34041 ba479850c9c7
parent 32376 46ba2cdda476
child 35405 2123e7629ec0
--- a/contrib/synthrepo.py	Tue Aug 22 20:03:07 2017 -0400
+++ b/contrib/synthrepo.py	Tue Aug 22 20:06:58 2017 -0400
@@ -479,7 +479,7 @@
         date = min(0x7fffffff, max(0, date))
         user = random.choice(words) + '@' + random.choice(words)
         mc = context.memctx(repo, pl, makeline(minimum=2),
-                            sorted(changes.iterkeys()),
+                            sorted(changes),
                             filectxfn, user, '%d %d' % (date, pick(tzoffset)))
         newnode = mc.commit()
         heads.add(repo.changelog.rev(newnode))