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

 
 

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

Submitted by:  Marc-André Boucher <bouchermaicod>
Submitted on:  Tue 08 May 2007 05:11:45 PM UTC  
 
Category: Bug ReportSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 
Fixed Release: NoneFixed Feature Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 08 May 2007 06:31:27 PM UTCscjonesStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Tue 08 May 2007 05:11:45 PM UTCbouchermaicodCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1