History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-14757
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Dmitry Jemerov
Reporter: Christopher Bartley
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

.DS_Store files not filtered out when doing CVS update or check status

Created: 10 Feb 07 05:21   Updated: 21 Feb 07 18:45
Component/s: Version Control Integration. CVS
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Mac OS X 10.4.8

Build: 6,148
Severity: Medium


 Description  « Hide
Mac OS X's .DS_Store files appear when doing a CVS update or check status, even though they should be filtered out according to the Ignore Files and Folders setting under IDE Settings -> General -> General Options.

 All   Comments   Work Log   Change History      Sort Order:
Dmitry Jemerov - 14 Feb 07 20:21
Filtered out from where? Do you expect that the .DS_Store files added to CVS will not be received during an update at all, or that they will be received but not shown in the "Update status" view? Neither of these looks like a good thing to me.

(The proper way to handle these files is to add them to .cvsignore and not store them in CVS at all.)

Or do you actually mean something different?


Christopher Bartley - 14 Feb 07 21:27
Sorry, I realize now my description was really unclear. The .DS_Store files I'm complaning about aren't in CVS. I guess IDEA is behaving correctly in that it lists them as "not in repository" in the CVS status or update views. However, IDEA doesn't show them in the Changes view, which is what I expected from the CVS status and update views. It wasn't clear to me that specifying files in "Ignore Files and Folders" wouldn't also apply to CVS views.

Also, I didn't realize that it was possible to have the contents of a .cvsignore file apply globally--I thought that they were per-directory only. This confusion is partially due to the CVS docs (http://ximbiot.com/cvs/wiki/index.php?title=CVS--Concurrent_Versions_System_v1.12.12.1:_Reference_manual_for_Administrative_files#SEC202) which read:

"As CVS traverses through your directories, the contents of any `.cvsignore' will be appended to the list. The patterns found in `.cvsignore' are only valid for the directory that contains them, not for any sub-directories."

Anyway, I realize now that simply creating one in my home folder solves the problem just fine. Maybe that's what Selena does for the "Possibility to configure ignored files (files which are not version-controlled but should not be displayed under unversioned files)" feature?

So, I've solved the problem, but maybe it's worth considering whether there's some way to make it clearer to the user that items in "Ignore Files and Folders" won't be filtered out of version control views?

Thanks and sorry.