You are not logged in.

#1 2009-11-03 11:28:40

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 876

Ignoring files in CVS

Hi, I'm trying to tell CVS to ignore .d files generated by Eclipse in my C++ project. Since I have them in a directory tree I'd like to set a global ignore value, to avoid creating a .cvsignore in each folder. According to CVS manual, this can be done either by appending *.d in CVSROOT/cvsignore (not suitable for me), in ~/.cvsignore or in $CVSIGNORE. I tried the last two solutions, but without any success: the Team Synchronizing view still tries to commit my .d files. If I create a .cvsignore in each directory it works, so I think the problem is that CVS doesn't read ~/.cvsignore or $CVSIGNORE.
Any suggestion? Thanks

Offline

#2 2009-11-06 21:25:07

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Ignoring files in CVS

"~/.cvsignore" or '~/.cvsignore' ? Did you try to add the path in absolute way without '~' character ?

Offline

#3 2009-11-07 11:03:42

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 876

Re: Ignoring files in CVS

djszapi wrote:

"~/.cvsignore" or '~/.cvsignore' ? Did you try to add the path in absolute way without '~' character ?

Thank you, but I don't understand your reply...
CVS manual tells that the global ignore list can be specified in a file named .cvsignore, to be placed in the home folder. You don't have to specify any path, CVS will look in your home for this file. I did it, but it doesn't work.

Offline

Board footer

Powered by FluxBB