mercurial/archival.py
changeset 2857 18cf5349a361
parent 2840 046a8b03ea59
child 3615 1d2fdea875bc
--- a/mercurial/archival.py	Sat Aug 12 09:24:04 2006 -0300
+++ b/mercurial/archival.py	Sat Aug 12 08:53:23 2006 -0300
@@ -163,11 +163,12 @@
     change = repo.changelog.read(node)
     mn = change[0]
     archiver = archivers[kind](dest, prefix, mtime or change[2][0])
-    mf = repo.manifest.read(mn).items()
-    mf.sort()
+    m = repo.manifest.read(mn)
+    items = m.items()
+    items.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, mf.execf(filename) and 0755 or 0644,
+    for filename, filenode in items:
+        write(filename, m.execf(filename) and 0755 or 0644,
               repo.file(filename).read(filenode))
     archiver.done()