Bugs item #3561877, was opened at 2012-08-26 08:36
Message generated for change (Comment added) made by ajlittoz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3561877&group_id=27350
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Browsing
Group: current cvs
>Status: Closed
>Resolution: Fixed
Priority: 6
Private: No
Submitted By: Andre-Littoz (ajlittoz)
Assigned to: Andre-Littoz (ajlittoz)
Summary: Identifier query faulty with CVS tree
Initial Comment:
With a source-tree under CVS, identifier search may return no result or erroneous results even if the looked-for identifier exists. This happens when the set of versions is defined by a function. This function returns the correct set when LXR is processing a file (under source) but only "head" in all other cases (directory under source, or ident).
This is caused by the security check "clean_release" in Common.pm which filters the requested version against those in {'v'}{'range'}. In the mentioned cases, {'range'} is empty and default 'head' is returned.
It really matters only for ident since it is always possible to change default version (from directory) once we hit a file.
Suggested fix:
in clean_release, test if repository is CVS and script is source; if yes, accept any version.
----------------------------------------------------------------------
>Comment By: Andre-Littoz (ajlittoz)
Date: 2012-09-08 02:29
Message:
Fixed in 1.0 release.
Patch also improved to keep version selection through directory listing.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=390117&aid=3561877&group_id=27350
|