.cvsignore - I'm stuck
(This isn't really a boost question but I've spent half a day reading the cvs documentation and am hoping for a bit of help on what I think is probably a very simple question.) I have a blazing 33.6K modem connection to the Internet. So when I do a cvs update of my copy of the boost tree, the mug shots (.jpg files) in the people subdirectory take quite a long time to be checked for differences. I don't really need to update those files so I am trying to get a .cvsignore file to work in the "people" subdirectory. (I realize these files may not change very often; still, I would appreciate knowing how to do a .cvsignore for boost libraries that I'm not using.) But I can't get cvs to recognize the .cvsignore file. I created a .cvsignore file, with the line "*.jpg", in the people sub-directory. But when I run "cvs update" in the people sub-directory (after "cvs login") cvs gives me a "? .cvsignore" response and continues updating anyway. I thought maybe I have to "cvs add" the .cvsignore file, but that doesn't work. How do I get cvs to "see" my .cvsignore file? Thanks, Bill
William Trenker said:
(This isn't really a boost question but I've spent half a day reading the cvs documentation and am hoping for a bit of help on what I think is probably a very simple question.)
I have a blazing 33.6K modem connection to the Internet. So when I do a cvs update of my copy of the boost tree, the mug shots (.jpg files) in the people subdirectory take quite a long time to be checked for differences. I don't really need to update those files so I am trying to get a .cvsignore file to work in the "people" subdirectory. (I realize these files may not change very often; still, I would appreciate knowing how to do a .cvsignore for boost libraries that I'm not using.) But I can't get cvs to recognize the .cvsignore file.
I created a .cvsignore file, with the line "*.jpg", in the people sub-directory. But when I run "cvs update" in the people sub-directory (after "cvs login") cvs gives me a "? .cvsignore" response and continues updating anyway. I thought maybe I have to "cvs add" the .cvsignore file, but that doesn't work.
How do I get cvs to "see" my .cvsignore file?
AFAIK, you have to check the .cvsignore files in for them to take effect, and I also don't believe the effect files already in the repository. Long and short is, I don't think you can .cvsignore these files. Sorry, William E. Kempf
On Tue, 10 Dec 2002, William E. Kempf wrote:
AFAIK, you have to check the .cvsignore files in for them to take effect, and I also don't believe the effect files already in the repository. Long and short is, I don't think you can .cvsignore these files.
Sorry,
William E. Kempf
No and yes. You don't need to check in .cvsignore files for them to work, but they only apply to local files that aren't under CVS control. AFAIK, the only way not to update in a directory is to not check out that directory or only update in subdirectories (e.g., boost/ and libs/) Doug
Douglas Paul Gregor
On Tue, 10 Dec 2002, William E. Kempf wrote:
AFAIK, you have to check the .cvsignore files in for them to take effect, and I also don't believe the effect files already in the repository. Long and short is, I don't think you can .cvsignore these files.
Sorry,
William E. Kempf
No and yes. You don't need to check in .cvsignore files for them to work, but they only apply to local files that aren't under CVS control. AFAIK, the only way not to update in a directory is to not check out that directory or only update in subdirectories (e.g., boost/ and libs/)
You could delete the subdirectory from your CVS tree and then not supply "-d" when you update from the top. Of course, you may find yourself missing new directories as they are added if you don't use "-d"... -- David Abrahams dave@boost-consulting.com * http://www.boost-consulting.com Boost support, enhancements, training, and commercial distribution
On Tuesday, December 10, 2002, at 01:56 PM, William Trenker
I don't really need to update those files so I am trying to get a .cvsignore file to work in the "people" subdirectory.
That's not what .cvsignore does. A .cvsignore file prevents you from getting errors when you have files by that name in the subdirectory. But it has no effect on whether existing files with those names are checked out. I don't know of any cvs feature that does what you want. -- Darin
this is a longshort. There is a option for cvs update "-I" from the manual: -I ign More files to ignore (! to reset). See A.12.1 import options. I don't know if it works but it is a try. (the link for the maunal: http://www.cvshome.org/docs/manual/cvs_17.html#SEC155 ) yours eske On Tue, 2002-12-10 at 18:56, William Trenker wrote:
(This isn't really a boost question but I've spent half a day reading the cvs documentation and am hoping for a bit of help on what I think is probably a very simple question.)
I have a blazing 33.6K modem connection to the Internet. So when I do a cvs update of my copy of the boost tree, the mug shots (.jpg files) in the people subdirectory take quite a long time to be checked for differences. I don't really need to update those files so I am trying to get a .cvsignore file to work in the "people" subdirectory. (I realize these files may not change very often; still, I would appreciate knowing how to do a .cvsignore for boost libraries that I'm not using.) But I can't get cvs to recognize the .cvsignore file.
I created a .cvsignore file, with the line "*.jpg", in the people sub-directory. But when I run "cvs update" in the people sub-directory (after "cvs login") cvs gives me a "? .cvsignore" response and continues updating anyway. I thought maybe I have to "cvs add" the .cvsignore file, but that doesn't work.
How do I get cvs to "see" my .cvsignore file?
Thanks, Bill
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
-- My best advice? Don't get fancy. Treat a new C++ feature just as you would treat a loaded automatic weapon in a crowded room. Never use it just because it looks nifty. Wait until you understand the consequences, don't get cute, write what you know, and know what you write. - Herb Sutter in Exceptional C++
participants (6)
-
Darin Adler
-
David Abrahams
-
Douglas Paul Gregor
-
Eske Christiansen
-
William E. Kempf
-
William Trenker <wtrenkerï¼ hotmail.com>