[PATCH] Condition for zip download of dir
|Reported by:||Owned by:|
|Component:||version control/changeset view||Version:||0.12dev|
Downloading directories from the TracBrowser works more reliably, especially for version control systems other than Subversion which had issues with that feature.
source:trunk/trac/versioncontrol/web_ui/changeset.py@8899#L311 activates special behaviour for
old_path == '/'.
Other tests in that same method treat
'' as equivalent, e.g.
new_path not in ('', '/').
I think that it would be consistent to include the case of
old_path == '' in that special case for the zip file name as well. It would help in addressing one aspect of an issue with the VersioningSystemBackend trac-bzr which has been reported in LP #394204.
Change History (24)
comment:7 by , 12 years ago
|Milestone:||0.12 → next-minor-0.12.x|
|Priority:||normal → high|
|Severity:||trivial → normal|
comment:8 by , 11 years ago
|Summary:||Condition for zip download of dir → [PATCH] Condition for zip download of dir|