gnu.cvs.help
[Top] [All Lists]

a couple of cvs problems....

Subject: a couple of cvs problems....
From: Martin Jørgensen
Date: Sat, 25 Mar 2006 22:14:01 +0100
Newsgroups: gnu.cvs.help
Hi,

I copied a latex report-directory to somewhere else where I could make changes and still be sure that I didn't accidentally did anything stupid...

So after I finished I copied the directory back and wants to commit some changes. Among these changes, I added a .cvsignore file that contains:

cat .cvsignore
*.log
*.toc
*.lof
*.prv
*.aux
*.out

This is what happens if I update before commiting (I just wanted to see which changes it found):

cvs -q update .
? .DS_Store
? .cvsignore
? 2D_model
? appendices
? theory
cvs update: move away ./.cvsignore; it is in the way
C .cvsignore
R report.aux
R report.lof
cvs server: warning: report.log is not (any longer) pertinent
M report.out
M report.pdf
M report.tex
R report.toc
M 1D_model/1D_model.aux
M 1D_model/1D_model.tex

I've never seen cvs write something like:

"cvs update: move away ./.cvsignore; it is in the way"

That is pretty provocative :-)

Since it apparently didn't know .cvsignore I wanted to add it by hand first:

Apple:~/Desktop/bachelor2006/report mac$ cvs add .cvsignore
cvs server: .cvsignore added independently by second party
Apple:~/Desktop/bachelor2006/report mac$ cvs commit .cvsignore
cvs commit: use `cvs add' to create an entry for .cvsignore
cvs [commit aborted]: correct above errors first!


I'm sure I did something wrong... I just don't know what exactly... Deleting the .cvsignore file is pretty easy to do but could the problem be that I added the file and then changed it before commiting it???

I guess so, at this moment... But perhaps anyone can explain for sure.


Best regards / Med venlig hilsen
Martin Jørgensen

--
---------------------------------------------------------------------------
Home of Martin Jørgensen - http://www.martinjoergensen.dk

<Prev in Thread] Current Thread [Next in Thread>