Re: Windows with Dir/ and dir/
Hello Todd, thanks for your suggestions. * On Mon, Apr 19, 2004 at 03:51:44PM -0500 Todd Denniston wrote: : No such file or directoryectory /var/lib/cvs/cbm/vice cvs update: skipping directory You have [0] altered files in this repository. Are you sure you want to release (and delete) directory `vice': y (this is a verbatim copy, the word directoryectory is there in the original output!) I am used to this kind of output coming if there is an embedded \r in the thing being printed. The way to actually see what is going on is to do (assuming cygwin has script): No, cygwin does not have script (or at least not installed). Anyway, cvs release -d ... 21|tee out works, too. or if you really want to be sure run `od -a logerrorfile.txt |less `. the corrected output is: cvs update: cannot open directory /var/lib/cvs/cbm/viceCR: No such file or directoryNL[...] where CR and NL are the respective characters. after you see what is really coming out, things are usually clearer as to what went wrong. Well, yes, to a limited extent. ;-) I assume you either wrote over the original bin/cvs you had or are in some other way making sure you are executing the new version? Yes, I executed path-to-cvs/cvs directly (and did a cvs --version to be sure). Anyway, I found out this not to be optimal, as CVS seems to try to run exactly path-to-cvs/cvs on the server, which cannot be found or, even worse, might be something different (as in my case). At least, my crash has gone after I put the new path into the PATH environment variable. Thanks, Spiro. -- Spiro R. Trikaliotis http://www.trikaliotis.net/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: RCS commit template
Thanks Derek, that was it! I had to check out a new copy! I have an old CVS version and it takes an act of God to upgrade it. -chris -Original Message- From: Derek Robert Price [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 9:08 PM To: Geoff Beier Cc: Fouts Christopher (); [EMAIL PROTECTED] Subject: Re: RCS commit template -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Geoff Beier wrote: On Apr 19, 2004, at 7:06 PM, Fouts Christopher (6452) wrote: I followed the intructions in these pages, along with reading the manual to set up a commit template. However, I don't get my template when I do a commit. I have the permissions set up correctly too. What gives? http://www.einval.com/~steve/software/cvs-bugzilla/ http://www.einval.com/~steve/software/cvs-bugzilla/ Hmm... not much to go on with your question here. A wild guess: Did you make your changes to a checked out copy of CVSROOT. e.g. % cvs -d/path/to/repository co CVSROOT % cd CVSROOT ... create rcstemplate ... ... add DEFAULT line to rcsinfo ... ... add rcstemplate + error message to CVSROOT/checkoutlist ... % cvs add rcstemplate % cvs ci -m some comment and then see the message cvs commit: Rebuilding administrative file database? Also, until pretty recent releases of the feature (1.12.x) CVS, rcsinfo template changes don't show up in previously checked out copies of projects. You need to actually release your workspace and check out another to see the new template. Derek - -- *8^) Email: [EMAIL PROTECTED] Get CVS support at http://ximbiot.com! -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAhHfgLD1OTBfyMaQRAosrAKDSNT5h58EIWtOoMKWD9GAvGLqpsQCgl4BZ 52Fh10feyFBcwBCspRSThiU= =6+4K -END PGP SIGNATURE- ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Windows with Dir/ and dir/
Spiro Trikaliotis wrote: Hello Todd, thanks for your suggestions. * On Mon, Apr 19, 2004 at 03:51:44PM -0500 Todd Denniston wrote: SNIP I assume you either wrote over the original bin/cvs you had or are in some other way making sure you are executing the new version? Yes, I executed path-to-cvs/cvs directly (and did a cvs --version to be sure). Anyway, I found out this not to be optimal, as CVS seems to try to run exactly path-to-cvs/cvs on the server, which cannot be found or, even worse, might be something different (as in my case). At least, my crash has gone after I put the new path into the PATH environment variable. You might want to undo that and set CVS_SERVER=path-to-cvs/cvs on the client, ssh and rsh methods will use that to execute the correct server version... makes it nice and easy to try new versions out. -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Windows with Dir/ and dir/
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Spiro Trikaliotis wrote: No, cygwin does not have script (or at least not installed). Anyway, cvs release -d ... 21|tee out works, too. or if you really want to be sure run `od -a logerrorfile.txt |less `. the corrected output is: cvs update: cannot open directory /var/lib/cvs/cbm/viceCR: No such file or directoryNL[...] where CR and NL are the respective characters. This can happen if you try to make the Cygwin CVS use a workspace which was created or used by a different Windows CVS (commandline, WinCVS, whatever...). They leave CRs on the end of lines in CVS/* files (in this case probably CVS/Repository) and the Cygwin CVS, looking for UNIX EOLs, treats them as part of the directory/file name, sends them to the server, then the server reports no-such-file-or-directory since it doesn't know about viceCR, only vice. Derek - -- *8^) Email: [EMAIL PROTECTED] Get CVS support at http://ximbiot.com! -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAhUA4LD1OTBfyMaQRAq1iAKDZ58rTcgtwCAcXRSN77/s0rlV1vgCgkbzp D8bKrtyJndkw/RqBE4MO2u4= =TARP -END PGP SIGNATURE- ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Cvs history -T sometimes returns no records selected-- to some users
Hi!When running the cvs history -T command, sometimes,we see the results(we have 2 branch tags on a repository), but sometimes, it says "No records selected"This is happening to some users; some users can see the list of tags, some others get the above message.The permissions on history file seem ok(666). If I look in the history file, I see 2 lines beginning with 'T', followed by the uid, rep name and branch tag name. So it seems ok too. So what is wrong and why am I getting this problem? TIA. Mala Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Commit across multiple directories causes this behavior
Hi I have a script that generates a task number for each commit and adds it to the log message. This is for release and deployment purposes.I see the followingbehavior: When someone commits files in multiple directorieswith the same commit command, then it is generating one task number for each directory.For example,I see the following.-Added files:Util/tistools/com/sbc/tis/tools: Tag: Br_04-16-2004_CRMR2A_Dev TisDef.java ChangePasswordHelper.java Logger.java ValidatePasswordEJBHelper.java Log message:Task44: TAR# WR#4146aTask44: initial import of tis Util/tistools. Build this project as tistools.jarTask44: Added files:Util/tistools/com/sbc/tis/logging: Tag: Br_04-16-2004_CRMR2A_Dev Timecalc2.java Log.java Formatter.java Logger.java FileMonitor.java.bak Log message:Task45: Task44: TAR# WR#4146aTask45: Task44: initial import of tis Util/tistools. Build this project as tistools.jarTask45: Task44: CVS is treating each directory as a separate commit, it seems. For the same log message, it is adding multiple task numbers.Is there anyway I can modify this behavior? i.e get cvs to treat one commit, even if spanning multiple directories as just one commit command? I also see that when users check in thro' an IDE like eclipse, it adds the task number to each line of the log message. Is there anyway to prevent this? I would appreciate any responses.Thanks,Mala Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Windows with Dir/ and dir/
Derek Robert Price writes: This can happen if you try to make the Cygwin CVS use a workspace which was created or used by a different Windows CVS (commandline, WinCVS, whatever...). They leave CRs on the end of lines in CVS/* files (in this case probably CVS/Repository) and the Cygwin CVS, looking for UNIX EOLs, treats them as part of the directory/file name, sends them to the server, then the server reports no-such-file-or-directory since it doesn't know about viceCR, only vice. Note that this does not happen if you install Cygwin correctly (i.e., using Windows line endings rather than Unix line endings). -Larry Jones My dreams are getting way too literal. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS history file size question?
Hello cvs users, First my cvs server is on Redhat 9.0 (kernel2.4.20-28.9smp) and cvs version 1.12.6. I would like to know, how large history file can be? The reason is our cvs history file size is: 1166877300 Apr 20 13:53 history As you see it is about 1.1GB. The last four years history file is less than 500MB, until this year. It add up another 600MB and counting. So I am just little concern about what will happening to cvs if its history file is about 4GB or more? Does it matter with cvs related? or cvs treat as another Linux file. That mean I just need more RAM and Faster CPU when history file get larger and larger? Can some one give me an advise on this matter? Thanks, C- ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: CVS history file size question?
Courier wrote: So I am just little concern about what will happening to cvs if its history file is about 4GB or more? Does it matter with cvs related? or cvs treat as another Linux file. That mean I just need more RAM and Faster CPU when history file get larger and larger? Can some one give me an advise on this matter? AFAIK it's just an ordinary file. You can always archive then truncate the history file, so it doesn't get too big. I'm surprised your file is so big. Ours was truncated last May, and it's only 14MB now. We have over 100 developers, and the repository is (at last count) over 35GB, with a lot of activity. You might consider restricting some of the information that gets captured in the history file (see the LogHistory entry at http://www.cvshome.org/docs/manual/cvs-1.11.15/cvs_18.html#SEC180) -- Jim Hyslop Senior Software Designer Leitch Technology International Inc. (http://www.leitch.com) Columnist, C/C++ Users Journal (http://www.cuj.com/experts) ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Managing multiple branchs
Does anyone have a strategy for managing a production support branch in CVS along with one or more enhancement branches? Specifically, we want to have a branch for production support but we also have one or more projects on independent branches adding on new features under different timelines. Managing the merging of the project branches to trunk isn't an issue, but we are trying to figure out how to handle the production support branch. If we didn't have the project branches, then we would just keep working on the support branches and merge them after QA testing. But with the project branches, the support branch will eventually get out of synch with trunk. So, after all support issues have been fixed, it would be nice to tag trunk and then have the support branch reflect that tag as its new starting point. Not sure if this makes any sense to you, but we just want a way to have the support branch get caught up with the changes made by the project branches. Perhaps it would make sense to have all project branches merge through the support branch before going to trunk. But bug fixes can have timelines of their own and this approach may not be desireable. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Always ignore certain files
Hi all ! How can i make CVS always ignore files with some extensions (ex: *.exe) during commit and import even if the client issue a cvs import -I ! command ? Thanks in advance, -- Marcelo Carvalho Fernandes Diretor de Sistemas Smart Tech Consulting Avenida Rio Branco 181 Sala 1005 [EMAIL PROTECTED] www.smartech.com.br Tel: 55 (21) 2532-6335 ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: CVS history file size question?
On Tue, 2004-04-20 at 15:31, Jim.Hyslop wrote: I'm surprised your file is so big. Ours was truncated last May, and it's only 14MB now. We have over 100 developers, and the repository is (at last count) over 35GB, with a lot of activity. You might consider restricting some of the information that gets captured in the history file (see the LogHistory entry at http://www.cvshome.org/docs/manual/cvs-1.11.15/cvs_18.html#SEC180) At this point (1.1 GB) it might be worth writing a little script to strip out all the checkout events - assuming you don't need to keep a record of those... Yours, tom ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Managing multiple branchs
On 20 Apr 2004, Barry Svee wrote: out of synch with trunk. So, after all support issues have been fixed, it would be nice to tag trunk and then have the support branch reflect that tag as its new starting point. A branch can't have a new starting point. You have to merge down all your latest changes from the existing production branch to the trunk, and then start a new production branch. You might not want to do that right away either; the typical process involves some integration, testing and other development work before identifying a baseline that will be the new production release. -- Meta-CVS: the working replacement for CVS that has been stable for two years. It versions the directory structure, symbolic links and execute permissions. It figures out renaming on import. Plus it babysits the kids and does light housekeeping! http://freshmeat.net/projects/mcvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Commit across multiple directories causes this behavior
Mala T writes: MIME-Version: 1.0 Please do not send MIME and/or HTML encrypted messages to the list. Plain text only, PLEASE! I have a script that generates a task number for each commit and adds it to the log message. This is for release and deployment purposes. I see the following behavior: When someone commits files in multiple directories with the same commit command, then it is generating one task number for each directory. That is the expected behavior -- the commit support files all take a directory specification and thus are invoked for each directory involved in a commit. You might want to take a look at the comit_prep and log_accum scripts in the contrib directory for some ideas about how to do things just once per commit instead of once per directory. -Larry Jones It's either spectacular, unbelievable success, or crushing, hopeless defeat! There is no middle ground! -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
comparisons of code and tags
Good Afternoon, I'm wondering if there is a way of searching checked in code for what classes have changed? Also, at the tag level, what or how many classes have changed? Perhaps I wouldhave to write up some kind of utility for this info, but I thought I'd check first. Thanks! -R Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25¢___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RES: Always ignore certain files
Larry, I´m just about to do something like that. :-) I'm thinking to rename cvs to cvs2 and let a script called cvs analyse if there is a -I ! parameter and call cvs2 without it. Do you think it would work with pserver ? Are Pserver connections translated to command line calls? --- Marcelo Carvalho Fernandes Diretor de Sistemas Smart Tech Consulting Avenida Rio Branco 181 Sala 1005 [EMAIL PROTECTED] www.smartech.com.br Tel: 55 (21) 2532-6335 -Mensagem original- De: Larry Jones [mailto:[EMAIL PROTECTED] Enviada em: terça-feira, 20 de abril de 2004 17:43 Para: Marcelo Carvalho Fernandes Cc: [EMAIL PROTECTED] Assunto: Re: Always ignore certain files Marcelo Carvalho Fernandes writes: How can i make CVS always ignore files with some extensions (ex: *.exe) during commit and import even if the client issue a cvs import -I ! command ? You can't. (Unless you want to rewrite it, of course.) -Larry Jones These pictures will remind us of more than we want to remember. -- Calvin's Mom ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: RES: Always ignore certain files
Marcelo Carvalho Fernandes writes: I'm thinking to rename cvs to cvs2 and let a script called cvs analyse if there is a -I ! parameter and call cvs2 without it. Do you think it would work with pserver ? Are Pserver connections translated to command line calls? Yes, but the command line is just whatever is in your inetd.conf (something like cvs -f --allow-root=/usr/CVS pserver) -- the actual command and its options are sent in the client/server protocol, not on the command line, so your scheme won't work. -Larry Jones Nobody knows how to pamper like a Mom. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: comparisons of code and tags
Richard Pfeiffer writes: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=0-1644409913-1082495791=:59903 Please do not send MIME and/or HTML encrypted messages to the list. Plain text only, PLEASE! I'm wondering if there is a way of searching checked in code for what classes have changed? Also, at the tag level, what or how many classes have changed? Check out the diff, rdiff, and log commands and their options. If none of those do what you want, be more specific about exactly what it is that you want to do. http://www.cvshome.org/docs/manual/ -Larry Jones Another casualty of applied metaphysics. -- Hobbes ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs