archival: pass integer to struct.pack int field instead of float
If running in a context with warnings enabled and subsecond mtime it gave a
warning:
DeprecationWarning: integer argument expected, got float
--- a/mercurial/archival.py Fri Jan 11 16:30:29 2013 +0100
+++ b/mercurial/archival.py Thu Jan 03 21:07:04 2013 +0100
@@ -191,7 +191,7 @@
0x5455, # block type: "extended-timestamp"
1 + 4, # size of this block
1, # "modification time is present"
- self.mtime) # time of last modification (UTC)
+ int(self.mtime)) # last modification (UTC)
self.z.writestr(i, data)
def done(self):