mercurial/changelog.py
changeset 34441 50474f0b3f1b
parent 34398 e51c8ffa1ffa
child 35308 137a08d82232
--- a/mercurial/changelog.py	Mon Oct 02 19:28:41 2017 +0100
+++ b/mercurial/changelog.py	Mon Oct 02 11:03:53 2017 +0100
@@ -151,7 +151,7 @@
     manifest = attr.ib(default=nullid)
     user = attr.ib(default='')
     date = attr.ib(default=(0, 0))
-    files = attr.ib(default=[])
+    files = attr.ib(default=attr.Factory(list))
     description = attr.ib(default='')
 
 class changelogrevision(object):