[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question about cvsignore
From: |
* Tong * |
Subject: |
Re: question about cvsignore |
Date: |
18 Dec 2001 17:38:55 -0800 |
address@hidden (Larry Jones) wrote in message news:<address@hidden>...
> address@hidden writes:
> >
> > currently, my $CVSROOT/CVSROOT dir does not contains a cvsignore file. Is
> > it sufficient to simply create the file in the directory,
> > or do I need to checkout CVSROOT, and 'cvs add' the cvsignore file?
>
> Simply creating the file is sufficient, but checkout and add is more
> correct.
I have the same problem too: $CVSROOT/CVSROOT/cvsignore doesn't work.
Here is my previous posting:
,-----
| I am having problems trying to avoid some files using cvsignore
file.
| When I created it using the following command,
|
| echo "*.class *.txt *.jar" > $CVSROOT/CVSROOT/cvsignore
| chmod ug+rwx,o-rwx !$
|
| and did a cvs import (using a normal user account), all .class files
| get imported. Here is part of the output:
|
| N .../tests/DBSecurityMatrixTests.java
| N .../tests/DBSecurityMatrixTests.class
|
| When I set the CVSIGNORE intead,
|
| export CVSIGNORE="*.class *.txt *.jar"
|
| The .class files get correctly ignored. (I saw:)
|
| I .../tests/DBSecurityMatrixTests.class
|
| What's wrong? Both my root and normal user have the same CVSROOT
| setting. Besides, I set
|
| export CVSREAD=yes
|
| in my client env.
|
| Please help. Thanks
`-----
I've been searching through news archive for the answer. It seems to
be the most frequently asked question, with no correct answer yet.
Here is what happened when I tried to "checkout CVSROOT, and 'cvs add'
the cvsignore file":
/export/cvs/CVSROOT# cvs add cvsignore
cvs add: in directory .:
cvs [add aborted]: there is no version here; do 'cvs checkout' first
/export/cvs/CVSROOT# cvs checkout .
cvs [checkout aborted]: Cannot check out files into the repository
itself
/export/cvs/CVSROOT# cvs checkout cvsignore
cvs [checkout aborted]: Cannot check out files into the repository
itself
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: question about cvsignore,
* Tong * <=