mercurial/archival.py
changeset 2852 046a8b03ea59
parent 2844 e196aa1df169
child 2856 18cf5349a361
--- a/mercurial/archival.py
+++ b/mercurial/archival.py
@@ -164,11 +164,10 @@ def archive(repo, dest, node, kind, deco
     mn = change[0]
     archiver = archivers[kind](dest, prefix, mtime or change[2][0])
     mf = repo.manifest.read(mn).items()
-    mff = repo.manifest.readflags(mn)
     mf.sort()
     write('.hg_archival.txt', 0644,
           'repo: %s\nnode: %s\n' % (hex(repo.changelog.node(0)), hex(node)))
     for filename, filenode in mf:
-        write(filename, mff.execf(filename) and 0755 or 0644,
+        write(filename, mf.execf(filename) and 0755 or 0644,
               repo.file(filename).read(filenode))
     archiver.done()