Opened 14 years ago
Last modified 11 years ago
#8919 closed defect
Condition for zip download of dir — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | high | Milestone: | 1.0.2 |
Component: | version control/changeset view | Version: | 0.12dev |
Severity: | normal | Keywords: | review zip |
Cc: | Thijs Triemstra | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
source:trunk/trac/versioncontrol/web_ui/changeset.py@8899#L311 activates special behaviour for old_path == '/'
.
Other tests in that same method treat '/'
and ''
as equivalent, e.g.
source:trunk/trac/versioncontrol/web_ui/changeset.py@8899#L249
has 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.