bugConcurrent Versions System - Bugs: bug #19822, cvs update -I don't ignore files...

 
 

bug #19822: cvs update -I don't ignore files properly

Submitter:  Marc-André Boucher <bouchermaicod>
Submitted:  Tue 08 May 2007 05:11:45 PM UTC
   
 
Category:  Bug Report Severity:  3 - Normal
Item Group:  None Status:  Invalid
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release: 
Fixed Release:  None Fixed Feature Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 08 May 2007 06:58:56 PM UTC, comment #3: 

Such questions are better handled on the CVS mailing list:
info-cvs@nongnu.org.

Larry Jones <scjones>
Group administrator
Tue 08 May 2007 06:48:55 PM UTC, comment #2: 

Thanks a lot for the quick answer!
I totally forgot about that, thanks for pointing it out. I'm sure you saw my next question coming, but anyway :
Is there a way to ignore files that are known to CVS then? The problem is I want to deploy my project to multiple servers/environments/sites, but I don't want to override the configuration files every time I create my deployment package.
I have a single directory with my project which I update using CVS, and multiple directories with the configuration files of each of the servers/environments/sites where I deploy.

I would like to run a single "cvs update" command to keep the project up-to-date, but ignoring the config files so that I don't have to modify them everytime they are committed in CVS.

I have modified them directly on the deployment server, and they merge everytime I update the project, which is ok, but if the configuration files are committed for some changes, I don't want them to merge : I'm gonna modify them manually if I have to.

I know it almost seems like a software deployment problem, but the CVS part is the heart of it. I have found other ways to do this, but they're too much of a "patch" than a real solution!

Thanks again for your time. If there's a way to do this, that would spare me some problems!

Marc-André Boucher <bouchermaicod>
Tue 08 May 2007 06:31:27 PM UTC, comment #1: 

That's not how ignore works -- files that are already known to CVS will always be processed.  The ignore list is only used to determine whether files that aren't known to CVS are to be processed or ignored.

Larry Jones <scjones>
Group administrator
Tue 08 May 2007 05:11:45 PM UTC, original submission:  

I've read about how CVS handles the files that we want it to ignore, and I'm experiencing a problem with the "cvs update -I" command.
I have some ".cvsignore" files in directories of my project, and I want to append some files to the ignore list, but only when running a specific "cvs update" command. The files that I've put in the ".cvsignore" file aren't the same as the ones that I input in my update command, but the latter aren't ignored when I update my project.

Here's the ".cvsignore" file contents :
work
.classpath
.project
.tomcatplugin
*.class
log.html*
package.html

And here's the command that I run from the root of my project :
cvs -q update -Pd -IsomeFile.xml

CVS keeps updating and merging "someFile.xml" every time I run the update command, while according to the documentation, it should create the "ignored files list" from the update command AND the ".cvignore" file contents.

I am running CVS version 1.12.9 on a Ubuntu server, and connecting with WinCVS 2.0.2.4.

Hope you can help me on this one! Thanks in advance

Marc-André Boucher <bouchermaicod>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by scjones (Posted a comment)
  • -email is unavailable- added by bouchermaicod (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-05-08 scjones StatusNone Invalid
        Open/ClosedOpen Closed
    2007-05-08 bouchermaicod Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code