How do you set to ignore folders and all its subdirectories in CVS?
It's getting pretty annoying when it commits every file in my \bin
, \obj
or \TestResult
folders.
Tried *\TestResult
in the ignore list - to no avail.
How do you set to ignore folders and all its subdirectories in CVS?
It's getting pretty annoying when it commits every file in my \bin
, \obj
or \TestResult
folders.
Tried *\TestResult
in the ignore list - to no avail.
you can create a .cvsignore
file in your directories. See here for details
In your case the .cvsignore
of your project root would look like
bin
obj
TestResult
I also had to add .cvsignore
into the .cvsignore
file, because
cvs up
returned ? .cvsignore
Note that I am using 1.12.13-MirDebian-9
.cvsignore
contained just .svn
(this was when subversion had .svn
dirs in every directory), I was to import stuff from cvs to subversion and kept them in parallel for some time ... just to be on the safe side ... –
Ephemerid I have tried the way above and it works, except a detail: if you want to ignore a folder, and you have committed this folder to CVS server, you cannot delete this folder and commit
to delete it in CVS repository. Eclipse will ignore your delete. You have to:
synchronize
with CVS,mark as merged
to all files removed,-
before them. commit
to delete them in CVS server..cvsignore
file in this folder, with New - File
, type .cvsignore
as file name, and edit it to match patrons of file names of those you want to ignore.synchronize
again, to commit
this .cvsignore
.© 2022 - 2024 — McMap. All rights reserved.