3

What I tried so far is making a file, '.cvsignore' in the root of my module and then for the contents of the file:

*.Thumbs.db

However when I do CVS update, it still accounts for Thumbs.db - I just want it completely ignored by any cvs operation - is that possible?

And I don't really prefer CVS but I'm stuck using it for a certain project which I have no say on, otherwise I'd go with Mercurial or Git.

meder omuraliev
  • 1,839
  • 6
  • 28
  • 50

2 Answers2

10

If you want cvs to ignore files named Thumbs.db, why do you tell it to ignore files named something[dot]Thumbs.db?

Simply add Thumbs.db to your .cvsignore and you're done.

EDIT:

There are several candidates for the location of the .cvsignore file:

  1. In the directory where the Tumbs.db file is located. This will only help for that single directory.
  2. In your home directory. This will then apply do anything you do with cvs no matter what repository you are using.
  3. In your CVSROOT directory. This will apply to all modules that belong to this repository.
innaM
  • 10,192
  • 5
  • 42
  • 52
  • 1
    also make sure Thumbs.db aren't in the repo or .cvsignore will not help – Joakim Elofsson Aug 19 '09 at 19:16
  • Because that's the first thing I tried, and I just realized that either A) .cvsignore applies to the current directory in which it's in or B) I need an advanced pattern so Thumbs.db can be ignored recursively throughout any subdirectory within my module. – meder omuraliev Aug 19 '09 at 20:45
  • I added some suggestions as to where to place the .cvsignore file to my answer. – innaM Aug 20 '09 at 07:18
1

I don't ignore, i go to my C drive, search the entire thing for Thumbs.db and delete them all :D

alpha1
  • 1,686
  • 1
  • 14
  • 18