For SVN and Hg, I think there could be a good speedup in shelling out to run the system zip binary instead of building the zip in pure python (adhoc testing confirms this). The path to the zip binary should be configurable via the ini settings. And we'll need to be very careful with the command to make sure no user-inputs can sneak in (definitely don't use shell=True). Might be a good opportunity to refactor SVN & Hg snapshot methods to use shared helper.
Created #351: [#6232] better efficiency in building code snapshots (2cp)
Related
Tickets:
#6232Closed #351.
Allura:
je/42cc_6232
ForgeHg:
42cc_6232