l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2005 Jan 17 07:50

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] CVS problem: .cvsignore is being ignored
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] CVS problem: .cvsignore is being ignored

Peter Jay Salzman wrote:

Hi all,

I have a file:


in CVS. I want to modify foo.tex on my local hard drive, but keep the
repository copy "as-is". In other words, I don't want my changes to foo.tex
to be added to the repository version.

If I place 'foo.tex' into .cvsignore (located in the root of my checkout
directory), and do a general:

cvs commit

isn't foo.tex supposed to be ignored by the "commit" command? I'm asking
because it's not. :) Although 'foo.tex' is in .cvsignore, whenever I
make changes to that file, "cvs commit" still wants to commit my changes.

Using strace, I determined that CVS IS reading .cvsignore, and even reads
"foo.tex" from that file. Yet when I do a "cvs commit", it still wants to
update the repository copy of foo.tex with my local modified copy.

Any ideas why?


Isn't that why it's called ".cvsignore": so CVS will ignore it? (jk)

If .cvsignore is only intended to keep files out of the repository that are not already in it (this sounds possible), then it may have been a design decision (or merely an accidental consequence of the algorithm used) to pay it no heed in the updating of existing repository entries, but only in the initial commitment of new entries. I'm sure the docs must cover this somewhere.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.