This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 72790 - searching (dead) History between tags shows entire history instead
Summary: searching (dead) History between tags shows entire history instead
Status: NEW
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: CVS (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@versioncontrol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-17 19:10 UTC by Patrick Keegan
Modified: 2007-01-04 17:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Keegan 2006-02-17 19:10:54 UTC
JDK 1.5.0_06

1. Mount nb-all/usersguide in Favorites window
2. Expand usersguide, right-click javahelp node, and choose CVS | Search History
3. Search between tags docs-nb50l10n98handoff and release50-BLD200602162030

The search results reveal entire history of that folder, which makes it
impossible for me to quickly scan actually differences  between those tags. In
other words, this bug makes the feature worthless for me at this point.
Comment 1 _ pkuzel 2006-02-20 09:41:26 UTC
Could you compare to command-line's cvs log output? I guess it returns full
history for already deleted files. Is it the case?
Comment 2 Patrick Keegan 2006-02-20 09:47:52 UTC
Yes, the history for the deleted files is what I noticed. 
Comment 3 _ pkuzel 2006-02-20 10:16:09 UTC
It's cvs "feature".

I agree that it does not match users' expectation. We can try to workaround it
somehow.
Comment 4 Maros Sandor 2006-08-03 13:44:56 UTC
We COULD filter out files that were not tagged by any of those tags but we would
have to know all tags for all files. And since we do have this information, we
must list everything that is returned from the server. Solutions to this problem
exist but are not straightforward and have drawbacks. Meanwhile you can use
dates instead of tags for such searches.

To summarize, we could for example:
1) automatically hide all dead files ... this would mean that files that were
removed in between tags would be hidden (unexpected). Hide them on demand?
(checkbox)
2) fetch all tags along with files ... results can be filtered nicely but the
search would take several times longer (at least on NB sources with lots of
tags) My estimate is 7 times slower (OOME is a threat here too)
Comment 5 Patrick Keegan 2006-08-07 16:28:32 UTC
OK, thanks for the summary. I'm curious - does SVN work the same as CVS on this
point?
Comment 6 Maros Sandor 2006-08-07 17:46:29 UTC
SVN does not have this problem because it does not support tags :-) Well, it
supports something like tagging but all really comes down to revision numbers
which are not ambiguous like CVS tags. So I do not expect this behavior in SVN.