Bug 244968 - Search ignores .cvsignore
Summary: Search ignores .cvsignore
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-22 11:33 EDT by Lewis Shiner CLA
Modified: 2010-12-06 09:28 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lewis Shiner CLA 2008-08-22 11:33:14 EDT
I did a search for a string in my plugin development workspace (Search > Search > File Search), and got a huge error list of files that were supposedly out of sync with the repository.  The files on the list seemed to be files that I had excluded using .cvsignore.

It seems only logical to me that if Eclipse is going to complain about a file being out of synch, it should make sure that file isn't excluded via .cvsignore first.

This is obviously not a work stopping problem, just an inconvenience that might be confusing to some.

Thanks!
Comment 1 Szymon Brandys CLA 2008-08-22 12:28:46 EDT
Could you paste or attach your error log? This "out of sync" means probably that your workspace is not in sync with file system, e.i. files on disc were modified externally.
Comment 2 Lewis Shiner CLA 2008-08-22 12:35:08 EDT
Yes, the files are out of sync, but that's not the point.  Eclipse should not be checking to see if the files are in sync because they are in my .cvsignore file.

Thanks.

--Lew
Comment 3 Szymon Brandys CLA 2008-08-25 06:00:51 EDT
"Not in sync" files issue is not related to cvs. Maybe the wording is confusing, but "not in sync" means, as I explained before, that e.g. content of the file in your workspace was modified externally (using external editor). This can also happen when a project is not shared.

Because this is not related to cvs, .cvsignore should not affect search result.

Try this:
1) Create an unshared project with a.txt
2) Modify the file externally using Notepad or other external editor
3) Use File Search and try to find text from a.txt

You will see the same issue.
Comment 4 Szymon Brandys CLA 2008-09-04 06:08:02 EDT
Marking as INVALID.