RE: looking for cvs, cvsweb info for hurd.gnu.org
oops I forgot the CVS manual: http://www.gnu.org/manual/cvs-1.9/cvs.html Jim Franklin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Franklin Sent: Sunday, May 06, 2001 8:44 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: looking for cvs, cvsweb info for hurd.gnu.org Hi folks, I am working with folks over at http://hurd.gnu.org putting together an updated website for the hurd operating system. CVS and cvsweb are essential for learning to hack the hurd since all hurd versions are in a CVS repository. I was hoping to put together a series of web pages on using, tip, tricks and tutorials for CVS and cvsweb. Below are the links that I have already found: http://www.cvshome.org/ http://www.csc.calpoly.edu/~dbutler/tutorials/winter96/cvs/ http://www.vasc.ri.cmu.edu/help/Archiving/Cvs/cvs_tutorial.texinfo_toc.html http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/ http://www.cvshome.org/cyclic/cvs/windows.html If anyone has new or updated links, papers, tutorials, tips, tricks or cvs voodoo we would like to put it on the page. Please send info to [EMAIL PROTECTED] . Thx Jim Franklin ___ Web-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/web-hurd ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Automatically increment build number
I want my project to output the actual build number. My idea is to have a C file containing the build number and automatically increment this build number each time anybody issues a commit. In principle this would mean the following steps: committing Modified.cpp starts checkout BuildNo.cpp increment build number within file BuildNo.cpp committing BuildNo.cpp starts committing BuildNo.cpp ends (hopefully) committing Modified.cpp ends Now the problem is twofold: 1. The commit process is recursive which will probably result in a deadlock situation 2. The checkout of BuildNo.cpp happens on the server. What is the best way to accomplish/enforce an update on all clients? Thanks in advance for any advice. Mathias ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Triggers links to defect tracking systems
From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Triggers links to defect tracking systems Message-ID: [EMAIL PROTECTED] Date: Mon, 02 Apr 2001 23:47:41 - Hi, Is there any facility in CVS to add hooks for customized actions? For instance, requiring a Bug Number when you check in a file, verifying that bugnum against your defect tracking system, etc. It is possible to do some integration of Bug Number and a defect tracking system by having the rcsinfo template provide a form for you to fill in the bug number and haveing the verifyinfo trigger used to validate that the log message provided by the user has a valid bug number or other information. If you are using the FreeBSD version of cvs 1.11, then the verifyinfo trigger is even able to augment/modify the log message to reformat the template and possibly add additional summary information about the defect into the log message if desired. If not are there any projects underway to address this? I am not aware of any othters, but it might be desirable for the commitinfo step to be able to prompt the user for information such as the bug number or other information in order to better catch typos in a bug number earlier. While this is possible if you are using a local repository or the rsh/ssh transport, I don't know of any way to do it with the :pserver: method of interaction. Enjoy! -- Mark ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: looking for cvs, cvsweb info for hurd.gnu.org
On Sun, May 06, 2001 at 09:12:11AM -0700, Jim Franklin wrote: oops I forgot the CVS manual: http://www.gnu.org/manual/cvs-1.9/cvs.html Jim Franklin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Franklin Sent: Sunday, May 06, 2001 8:44 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: looking for cvs, cvsweb info for hurd.gnu.org Hi folks, I am working with folks over at http://hurd.gnu.org putting together an updated website for the hurd operating system. CVS and cvsweb are essential for learning to hack the hurd since all hurd versions are in a CVS repository. I was hoping to put together a series of web pages on using, tip, tricks and tutorials for CVS and cvsweb. Below are the links that I have already found: http://www.cvshome.org/ http://www.csc.calpoly.edu/~dbutler/tutorials/winter96/cvs/ http://www.vasc.ri.cmu.edu/help/Archiving/Cvs/cvs_tutorial.texinfo_toc.html http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/ http://www.cvshome.org/cyclic/cvs/windows.html If anyone has new or updated links, papers, tutorials, tips, tricks or cvs voodoo we would like to put it on the page. Please send info to [EMAIL PROTECTED] . Hello, that's a very good idea. This is an interesting link, Pascal Molli's page on cvs. This site already has a lot of useful links: www.loria.fr/~molli/cvs-index.html Goodbye! ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
WinCVS directory based access control problem solved
Hello, the reason for the reported problems of WinCVS and directory based access control has been found. Since CVS is a normal no-suid program, no Linux file protecions were circumvented at any time. The problem results from the interpretation of the CVS/Root files. The contain a single line user@remote:/data/cvshome. From within Linux it is no problem to checkout as user1 and to commit as user2 and vice versa, except for the wanted forbidden commit for user2: With a previous checkout into a directory of user1: cvs -d :ext:user1@remote:/data/cvshome LibSub.htm user1@remote's password: Checking in LibSub.htm; /data/cvshome/GP/LibSub/LibSub.htm,v -- LibSub.htm new revision: 1.22; previous revision: 1.21 done cvs -d :ext:user2@remote:/data/cvshome LibSub.htm user2@remote's password: Checking in LibSub.htm; /data/cvshome/GP/LibSub/LibSub.htm,v -- LibSub.htm new revision: 1.23; previous revision: 1.22 cvs [server aborted]: could not open lock file `/data/cvshome/GP/LibSub/,LibSub.htm,': Permission denied´ With a previous checkout into a directory of user2: cvs -d :ext:user2@remote:/data/cvshome LibSub.htm user2@remote's password: Checking in LibSub.htm; /data/cvshome/GP/LibSub/LibSub.htm,v -- LibSub.htm new revision: 1.23; previous revision: 1.22 cvs [server aborted]: could not open lock file `/data/cvshome/GP/LibSub/,LibSub.htm,': Permission denied cvs -d :ext:user1@remote:/data/cvshome LibSub.htm user1@remote's password: Checking in LibSub.htm; /data/cvshome/GP/LibSub/LibSub.htm,v -- LibSub.htm new revision: 1.23; previous revision: 1.22 done However WinCVS uses the contents of CVS/Root for further accesses of the repository after a checkout. Changing the proper CVS/Root file helps, even with an active WinCVS. Regards, Martin Kretschmar ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS watches - question
Hi, please help me - I run into problem with read-only files and watches. If I add file after watch was turned on and then another user updates his working copy, the user receives this new added file without read-only flag - is it a bug or I miss something? I'm running CVS server version 1.11.1p1 on Red Hat 7.0 and command line Win2K client version 1.11 Here is what I did: 1.I put watch on my whole module: cvs watch on MP 2. User does checkout cvs checkout MP, receives all files in subdirectories as read-only - that's exactly what he needs. 3. I add a new file in /MP/test/newfile cvs add newfile and the commit cvs commit MP 4. User does update cvs update MP and receives a newfile without read-only flag. WHY?? How can I solve this problem? Regards, Diana ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
GUI for CVS in Linux
Sir, I want to implement CVS in my company. Is there any GUI for CVS in Linux. If yes, please send me the link where can i download it. With Regards, Amit Bakhru ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: GUI for CVS in Linux
http://www.cvsgui.org/ Amit Bakhru wrote: Sir, I want to implement CVS in my company. Is there any GUI for CVS in Linux. If yes, please send me the link where can i download it. With Regards, Amit Bakhru ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Writing a macro in CVS
Hello I am writing a script in Tcl/Tk to retrieve all the files in CVS which have the same tag. The user enters the tag in a textbox and then all the files with the specified tag must be listed. How do I go about to search through the CVS repository and to get the tag part of the file information? I am fairly a novice to Tcl/Tk and would appreciate your help greatly. Kind Regards Anette van Aswegen Rubico (Pty) Ltd Reception: +27 (11) 808 1000 Fax: +27 (11) 808 1101 [EMAIL PROTECTED] www.Rubico.com The Business Component Company ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: GUI for CVS in Linux
-Original Message- From: Amit Bakhru [mailto:[EMAIL PROTECTED]] Sir, I want to implement CVS in my company. Is there any GUI for CVS in Linux. If yes, please send me the link where can i download it. I would recommend LinCVS http://www.lincvs.org/ Regards Mathias ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: looking for cvs, cvsweb info for hurd.gnu.org
On Sun, May 06, 2001 at 09:12:11AM -0700, Jim Franklin wrote: If anyone has new or updated links, papers, tutorials, tips, tricks or cvs voodoo we would like to put it on the page. Please send info to [EMAIL PROTECTED] . I think the most important is to include the 3 lines that download CVS Hurd. Of course knowing CVS is needed too, e.g. oskit-mach is a branch in GNUMach source. Regards -- Ognyan Kulev [EMAIL PROTECTED], \Programmer\ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Automatically increment build number
-Original Message- From: Matthew Riechers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 8. May 2001 14:01 To: Weber, Mathias-Henry 1254 PPW-P1 Subject: Re: Automatically increment build number Weber, Mathias-Henry 1254 PPW-P1 wrote: I want my project to output the actual build number. My idea is to have a C file containing the build number and automatically increment this build number each time anybody issues a commit. In principle this would mean the following steps: committing Modified.cpp starts checkout BuildNo.cpp increment build number within file BuildNo.cpp committing BuildNo.cpp starts committing BuildNo.cpp ends (hopefully) committing Modified.cpp ends Now the problem is twofold: 1. The commit process is recursive which will probably result in a deadlock situation 2. The checkout of BuildNo.cpp happens on the server. What is the best way to accomplish/enforce an update on all clients? [ ... ] A build usually implies compiling, not editing. Why do you want to track the number of commits? If you are actually trying to count the number of builds, increment the value of BuildNo.cpp when you do the *build*. If you are building with some sort of Makefile or script system, it should be trivial to add a 'increment_build.sh; cvs commit BuildNo.cpp' to it. Of course you are right that I'd rather count the number of build runs. But since we actually do not have a central build server this is even more meaningless than updating the counter with every commit. Another problem with coupling the incrementing of the counter to the build process would mean that this would have to be performed on every client host. The clients run Windows NT which is not my favourite choice for running script jobs. Furthermore the clients are rather differently equipped in terms of software the only common tool for script programming would be a DOS batch job. Do you understand that I am still interested in a different solution? I do not realy want to count the number of build runs but rather have at least some meaningful indication about the included features of a certain executable. The build time of an executable could be quite recent but if the developer did not update recently it does not indicate that a feature is available or not. Any further ideas? Mathias ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Triggers links to defect tracking systems
Mark D. Baushke wrote: Hi, Is there any facility in CVS to add hooks for customized actions? For instance, requiring a Bug Number when you check in a file, verifying that bugnum against your defect tracking system, etc. It is possible to do some integration of Bug Number and a defect tracking system by having the rcsinfo template provide a form for you to fill in the bug number and haveing the verifyinfo trigger used to validate that the log message provided by the user has a valid bug number or other information. What I was thinking of doing was using the loginfo hook to check the checkin comment to see that there is a PR number, and then verify that this is a valid PR with checkin approval (we've been having problems with some people checking in stuff without permission, and I'd rather put at least one tooth into the don't do that message). Does anybody foresee a problem with that? I am not aware of any othters, but it might be desirable for the commitinfo step to be able to prompt the user for information such as the bug number or other information in order to better catch typos in a bug number earlier. While this is possible if you are using a local repository or the rsh/ssh transport, I don't know of any way to do it with the :pserver: method of interaction. And here I'm just getting the shop on pserver. Fortunately, I'm not looking for interactivity, just compliance. -- David H. Thornley Software Engineer at CES International, Inc.: [EMAIL PROTECTED] or (763)-694-2556 at home: (612)-623-0552 or [EMAIL PROTECTED] or http://www.visi.com/~thornley/david/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Automatically increment build number
Weber, Mathias-Henry 1254 PPW-P1 wrote: -Original Message- From: Matthew Riechers [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 8. May 2001 14:01 To: Weber, Mathias-Henry 1254 PPW-P1 Subject: Re: Automatically increment build number Weber, Mathias-Henry 1254 PPW-P1 wrote: I want my project to output the actual build number. My idea is to have a C file containing the build number and automatically increment this build number each time anybody issues a commit. In principle this would mean the following steps: committing Modified.cpp starts checkout BuildNo.cpp increment build number within file BuildNo.cpp committing BuildNo.cpp starts committing BuildNo.cpp ends (hopefully) committing Modified.cpp ends Now the problem is twofold: 1. The commit process is recursive which will probably result in a deadlock situation 2. The checkout of BuildNo.cpp happens on the server. What is the best way to accomplish/enforce an update on all clients? [ ... ] A build usually implies compiling, not editing. Why do you want to track the number of commits? If you are actually trying to count the number of builds, increment the value of BuildNo.cpp when you do the *build*. If you are building with some sort of Makefile or script system, it should be trivial to add a 'increment_build.sh; cvs commit BuildNo.cpp' to it. Of course you are right that I'd rather count the number of build runs. But since we actually do not have a central build server this is even more meaningless than updating the counter with every commit. Another problem with coupling the incrementing of the counter to the build process would mean that this would have to be performed on every client host. The clients run Windows NT which is not my favourite choice for running script jobs. Furthermore the clients are rather differently equipped in terms of software the only common tool for script programming would be a DOS batch job. Do you understand that I am still interested in a different solution? I do not realy want to count the number of build runs but rather have at least some meaningful indication about the included features of a certain executable. The build time of an executable could be quite recent but if the developer did not update recently it does not indicate that a feature is available or not. Any further ideas? Mathias Using decentralized builds to track progress sounds a bit counter-productive. Why aren't periodic updates (auto-emails, changelogs maybe) enough? The features would be enumerated in the log on commit, and you could have loginfo mail everyone with a changelog style list if necessary. I think you are better off matching features to a tag in the repository instead of a particular executable since you are using decentralized builds. If I'm missing something, please explain. - Matt ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Binary File Reclaiming
I was trying to look through the archives on this but can't find anything that's close to what I am seeing, or my searching on the archives is bad. I'm trying to reclaim a binary file that someone has removed, there are only two versions in the repository v1.1 and v1.2, v1.1 is the original version and v1.2 is the dead version. I've tried to do the update -j 1.2 -j 1.1 with the file and then add the file back in, but when I try to commit the file I get the error: cvs server: cannot add file `visa.gif' when RCS file `/usr/local/CVS/webSystems/comcastnet/www/images/visa.gif,v' already exists cvs [server aborted]: correct above errors first! Status shows it as locally added. We are still running CVS 1.9 server on Solaris, soon to update to CVS 1.11, is there a way to get the file back to version 1.1? ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Configuration Question
I have a few questions about CVS on a RH7 box. On my old box (not originally set-up by me --CVS 1.10.7), CVS has directories within the archived directories, for example: /etc/httpd/CVS But on my new box (1.11.1p1), I can't seem to get the directories created in the same way. If I follow the instructions here: http://cvshome.org/docs/manual/cvs_3.html#SEC38, it seems to work, but I still don't get the CVS directory within /etc/httpd. My module is called httpd_conf. What I get instead is this: /etc/httpd/httpd_conf/CVS. What I want it to do is create /etc/httpd/CVS, and store all the files in /usr/cvs/httpd_conf. Any ideas of how I could do this? Also, where can I find files to create a pserver? Either RPM or source will do. Thanks for any help whatsoever. -J.weber ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Triggers links to defect tracking systems
Hi David, David wrote: What I was thinking of doing was using the loginfo hook to check the checkin comment to see that there is a PR number, and then verify that this is a valid PR with checkin approval (we've been having problems with some people checking in stuff without permission, and I'd rather put at least one tooth into the don't do that message). Does anybody foresee a problem with that? When the loginfo trigger is run, the files have already been checked into the repository. If you want to deny someone the ability to do the checkin, then you will need to exit with a non-zero return code either from any of the directories commitinfo trigger or from the first directory of the verifyinfo triggers. If you abort from other than the first directory of the verifyinfo triggers, then the commit will no longer be atomic for the change by the user as some of the files will have been committed, but the others will be rejected. Enjoy! -- Mark ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
branch cleanup
What to do if branch becomes obsolete and needless? There is no need to merge it into something ( ie branch named recyclesrc ;-),just simple cleanup is needed. I know the branch can be ignored, but is there cleanup scrpits for that purpose? -Nils SWH Technology
Re: Binary File Reclaiming
Furmaniuk, Michael writes: cvs server: cannot add file `visa.gif' when RCS file `/usr/local/CVS/webSystems/comcastnet/www/images/visa.gif,v' already exists cvs [server aborted]: correct above errors first! This is a bug that is fixed in 1.11.1 or just after. The workaround is to manually move the repository file into the Attic subdirectory (i.e., /usr/local/CVS/webSystems/comcastnet/www/images/Attic) and then do the commit from your working directory. -Larry Jones Oh, now YOU'RE going to start in on me TOO, huh? -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: looking for cvs, cvsweb info for hurd.gnu.org
There is some good information at http://cvsbook.red-bean.com/ Jerry From: Jim Franklin [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 06, 2001 9:12 AM oops I forgot the CVS manual: http://www.gnu.org/manual/cvs-1.9/cvs.html From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Jim Franklin tip, tricks and tutorials for CVS and cvsweb. Below are the links that I have already found: http://www.cvshome.org/ http://www.csc.calpoly.edu/~dbutler/tutorials/winter96/cvs/ http://www.vasc.ri.cmu.edu/help/Archiving/Cvs/cvs_tutorial.texinfo_toc.html http://stud.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi/ http://www.cvshome.org/cyclic/cvs/windows.html ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: cannot export from remote repo to absolute pathname
I have an exactly similar problem (CVS version 1.11, Solaris 2.6). Looking at the code suggests that the working area check (i.e., is there a CVS directory here) is done at the server and not at the client. Can this be correct? #!/mjh -Original Message- From: Eric Siegerman [mailto:[EMAIL PROTECTED]] Sent: 26 April 2001 21:47 To: [EMAIL PROTECTED] Subject: Re: cannot export from remote repo to absolute pathname On Wed, Apr 25, 2001 at 06:02:26PM -0600, John E. Hein wrote: I am trying to export a subtree from a module at a remote repository to a local directory tree. I tried: cvs -d remotehost:/repo_dir export -d /local/dir some_module/sub/tree ( cd /local/dir ; cvs -d remotehost:/repo_dir export -d . some_module/sub/tree) ln -s /local/dir foo cvs -d remotehost:/repo_dir export -d foo some_module/sub/tree Export really wants to create the top-level directory. Try this variant of your second case: cd /local rm -r dir cvs -d remotehost:/repo_dir export -d dir some_module/sub/tree -- | | /\ |-_|/ Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED] | | / With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. - RFC 1925 (quoting an unnamed source) ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Automatically increment build number
On Tue, May 08, 2001 at 04:04:34PM +0200, Weber, Mathias-Henry 1254 PPW-P1 wrote: Another problem with coupling the incrementing of the counter to the build process would mean that this would have to be performed on every client host. The clients run Windows NT which is not my favourite choice for running script jobs. Furthermore the clients are rather differently equipped in terms of software the only common tool for script programming would be a DOS batch job. Do you understand that I am still interested in a different solution? Just as a side note: The CMD Batch stuff on NT is *nearly* as powerful as Bourne shell. A lot more cumbersome, but nearly as powerful. Don't count is out so quickly. I did some scripting using Perforce's counter stuff, and NT's set /A to increment the build number. For something similar with cvs, you could probably keep a central area of build numbers and either use watches on them and cvs edit or cvs admin to enable an atomic update of the build number and so use cvs as your central database. Speaking of Perforce, what you want to do is basically a running counter of all changes committed to the respository. Perforce has such a thing built in actually, called a change number. If I was going to run a running counter like this, I'd probably use a 3rd party database like PostgresQL. mrc -- Mike Castle Life is like a clock: You can work constantly [EMAIL PROTECTED] and be right all the time, or not work at all www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc We are all of us living in the shadow of Manhattan. -- Watchmen ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Automatically increment build number
Is it necessary for your build number to be checked into cvs? You could have every cvs commit update a build number file on a shared disk. Your build system could use this file to obtain a build number. I know this is not without its own problems, but it's an alternative solution. Jerry From: Weber, Mathias-Henry 1254 PPW-P1 [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 7:05 AM Of course you are right that I'd rather count the number of build runs. But since we actually do not have a central build server this is even more meaningless than updating the counter with every commit. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Updating CVS/Entries
Ooops. Yeah, it's working. I had an old Entries~ file from emacs (the script I wrote checks Entries*, in case there's .log or whatever.) - Original Message - From: Larry Jones [EMAIL PROTECTED] To: R Bresner [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, May 07, 2001 4:57 PM Subject: Re: Updating CVS/Entries R Bresner writes: Is there a way to update the CVS/Entries file timestamps to avoid having cvs go to the repository to check for diffs? cvs update doesn't do it (I thought it would). If I understand what you're asking, cvs update *should* do what you want. If the timestamp on a file doesn't match what's in CVS/Entries, the client sends the file to the server. If the server finds that the file isn't any different than what's in the repository, it sends back a Checked-in response, which is supposed to cause the client to update CVS/Entries appropriately. The command-line version of CVS certainly works that way, at least on Unix. -Larry Jones I like maxims that don't encourage behavior modification. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cannot export from remote repo to absolute pathname
Mark Hewitt writes: I have an exactly similar problem (CVS version 1.11, Solaris 2.6). Looking at the code suggests that the working area check (i.e., is there a CVS directory here) is done at the server and not at the client. Can this be correct? Yes. The server's working area should be exactly similar [sic] to the client's. -Larry Jones I keep forgetting that rules are only for little nice people. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
repo dirs not checked out
There seems to be some inconsistency in the way directories with no CVS admin subdirectory are treated by different commands. This only seems to show up when you have a non-cvs controlled directory with a name which corresponds to a directory name in the repository. For example, if the repository has top level directories named foo and blah, and you: $ cvs checkout foo $ mkdir blah cvs annotate, commit, diff, status, and update can quietly skip blah. cvs log barfs on it. $ cvs log . cvs log: Logging blah cvs log: in directory blah: cvs [log aborted]: there is no version here; do 'cvs checkout' first Why should there be such a difference, especially between commands like status and log? Is it a bug, and if so, which commands are behaving correctly? Jerry ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Multiple vendor branches?
Title: Multiple vendor branches? Hi, I've got two external branches of the same code from different vendors, call them A and B. I've imported them as described in TFM under Multiple Vendor Branches. Development has actively continued on the source from A A and B have different, but overlapping, sets of source files. When I now do cvs checkout, any new files from vendor B are checked out since they are marked as the head revision: For files that have not been modified locally, the newly created revision becomes the head revision. If you have made local changes, import will warn you that you must merge the changes into the main trunk, and tell you to use checkout -j to do so. How do I avoid this? I believe this is related to a recent thread, but I just haven't been able to piece it together. Thanks. _ Daniel Horner ProtoNet: Disruptive Solutions Implementation Nortel Networks
RE: Revision Numbers Question
cvs rdiff -s -r tagname modulename The output may need to parsed a bit. Jerry From: Anthony E. Glover [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 08, 2001 8:47 AM To: Info-CVS Subject: Revision Numbers Question I know this must be a very simple thing to do, but I can't seem to find a way of doing it. How do I dump a complete listing of the files in a repository (not a working directory) with the revision numbers shown. Better yet, the list of revision numbers associated with a tagged set of files. Thanks, Tony ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Multiple vendor branches?
[ On Tuesday, May 8, 2001 at 17:07:10 (-0400), Daniel Horner wrote: ] Subject: Multiple vendor branches? I've got two external branches of the same code from different vendors, call them A and B. I've imported them as described in TFM under Multiple Vendor Branches. Development has actively continued on the source from A Multiple vendor branch support in CVS is not really implemented and definitely does not work in any way you might expect it to. You'll have to use two real branches (unpack into a working directory checked out on the brand and commit all changes manually) and then do whatever merges to your development branch (perhaps the trunk, or whatever) you wish to do from any of the third-party branches. [[ BTW, don't ever send HTML mail to people who don't explicitly request it, and especially not ever to a public mailing list ]] -- Greg A. Woods +1 416 218-0098 VE3TCP [EMAIL PROTECTED] [EMAIL PROTECTED] Planix, Inc. [EMAIL PROTECTED]; Secrets of the Weird [EMAIL PROTECTED] ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Help!!!
Id like to remove or move a directory in the repository. I currently have the directory structure $CVSROOT/ $CVSROOT/cvs/ $CVSROOT/cvs/script_dir1/ $CVSROOT/cvs/script_dir1/script1 $CVSROOT/cvs/script_dir1/script2 $CVSROOT/cvs/script_dir1/script3 $CVSROOT/cvs/script_dir1/script_dir2/ $CVSROOT/cvs/script_dir1/script_dir2/script4 I want to move the script4 that is currently in ~script_dir2 into ~script_dir1 so that it looks like this: $CVSROOT/ $CVSROOT/cvs/ $CVSROOT/cvs/script_dir1/ $CVSROOT/cvs/script_dir1/script1 $CVSROOT/cvs/script_dir1/script2 $CVSROOT/cvs/script_dir1/script3 $CVSROOT/cvs/script_dir1/script4 I could not figure out how to move the file, so I tried to delete it as follows: I checked out script4, removed it from my personal directory. I then ran cvs remove, then I ran cvs commit. When I do a checkout, the file returns. Lenny Voet Technical Support Manager - ALLDATA 916-684-5200 x3304 916-798-5189 cell
checkoutlist bogus??
I am using CVS version 1.10.7 on Solaris. I have added a directory called util at $CVSROOT/CVSROOT/util. I then put a file in this directory called foo.bar, then added and committed it to CVS. I get the message that the CVS administrative database is rebuilding.. or whatever without even adding it to the checkoutlist file. I then added and removed the entry for that file in the checkoutlist file. Then I did a cvs commit with changes to foo.bar in the util directory and always get that message about rebuilding the database. I can even checkout the CVSROOT directory from scratch without an entry for it in the checkoutlist file and still get the file foo.bar. Question. Is the checkoutlist functionality bogus or is the message about rebuilding bogus? I thought that was the whole point of the checkoutlist?? What is the point of checkoutlist... Thanks, Peter __ FREE Personalized Email at Mail.com Sign up at http://www.mail.com/?sr=signup ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Problems running cvs pserver
mmm I also get this problem, and i am trying to build cvs without kerberos support. the problem is that server.c wants to include krb5.h and the Makefile always seems to want to link in the kerberos libraries - that i don;t have installed, and i don't want to install. i run ./configure --disable-encryption --prefix=/opt/cvs --with-gssapi=no and then server.c failes to build because it tries to include krb5.h I comment out the #define HAVE_GSSAPI 1 because that stops krb5.h form being included it compiles fine, and failes to build because Makefile wants to link with -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err all of which do not exist on my machine :) this results in an exe that both supports and doesn't support pserver ;) so, um, what am i doing wrong ? sven [EMAIL PROTECTED] writes: I get the same response if I telnet to the port i.e. The connection terminates immediately with the Connected to localhost. Escape character is '^]'. cvs pserver: No CVSROOT specified! Please use the `-d' option cvs [pserver aborted]: or set the CVSROOT environment variable. Connection closed by foreign host. That indicates that the CVS you're trying to use as a server was compiled without pserver support; check your configure output. -Larry Jones ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS batch..
Hi all, How do i setup a script so that it logons on the server and fetches the files, i.e how do i logon to the server without it prompting me for the password? thanks amin [EMAIL PROTECTED] ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Problems running cvs pserver
Sven Dowideit writes: i run ./configure --disable-encryption --prefix=/opt/cvs --with-gssapi=no and then server.c failes to build because it tries to include krb5.h What version of CVS? The Kerberos stuff is a mess, but it's getting better and better as time goes on. this results in an exe that both supports and doesn't support pserver ;) I'm not sure what that's supposed to mean. What do cvs -v and cvs --help-commands say? -Larry Jones It works on the same principle as electroshock therapy. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: checkoutlist bogus??
Peter Lynch writes: I have added a directory called util at $CVSROOT/CVSROOT/util. I then put a file in this directory called foo.bar, then added and committed it to CVS. I get the message that the CVS administrative database is rebuilding.. or whatever without even adding it to the checkoutlist file. That's correct -- whenever you commit any file in CVSROOT or a subdirectory of CVSROOT, CVS rebuilds the administrative files. The checkoutlist file is a list of additional files to be *checked out* when rebuilding the administrative files, not a list of additional files that cause the administrative files to be rebuilt when they're checked in. If you look in $CVSROOT/CVSROOT/util, you should find that you only have foo.bar,v and not foo.bar unless you've added it to checkoutlist. -Larry Jones I don't think math is a science, I think it's a religion. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Help on - Management Document.
Members Equity Email System Hi all, I've been asked to write a document explaining our development environment. This is to include the processes of sending developed applications into our test environment and then into production. In addition we need to handle roll back strategies, location of runtime and working directories etc. I know what I want to generally put into this document but I would appreciate looking at anyone elses examples of a document like this. Regards, Richard Sharp Members Equity 9 605 6880 0417 342 880 MEMBERS EQUITY PTY LTD ABN 56 070 887 679 This email and any attachments are confidential. If you are not the intended recipient, you must not disclose, distribute, copy or use the information contained in this e-mail or any attachments. If you have received this email in error, please tell us immediately by return email and delete this e-mail and any attachments. This message should not be removed.
RE: Problems running cvs pserver
I have this problem with cvs-1.10 (the one we are currently using in local mode only) and with cvs 1.11p1 (that i am using as a comparison) I think the easiest answer to the --help-comands question is that the newly compiled cvs (either version) is able to do :local: and :ext: checkouts fine, its only the pserver that is causing me pain. when you say the Kerberos stuff is a mess, do you mean that everyone just installs kerberos? cheers Sven cvs -v --- bash-2.03$ ./cvs -v Concurrent Versions System (CVS) 1.10 `Halibut' (client/server) Copyright (c) 1989-1998 Brian Berliner, david d `zoo' zuhn, Jeff Polk, and other authors CVS may be copied only under the terms of the GNU General Public License, a copy of which can be found with the CVS distribution kit. Specify the --help option for further information about CVS -cvs --help-commands bash-2.03$ ./cvs --help-commands CVS commands are: add Add a new file/directory to the repository adminAdministration front end for rcs annotate Show last revision where each line was modified checkout Checkout sources for editing commit Check files into the repository diff Show differences between revisions edit Get ready to edit a watched file editors See who is editing a watched file export Export sources from CVS, similar to checkout history Show repository access history import Import sources into CVS, using vendor branches init Create a CVS repository if it doesn't exist log Print out history information for files loginPrompt for password for authenticating server. logout Removes entry in .cvspass for remote repository. rdiffCreate 'patch' format diffs between releases release Indicate that a Module is no longer in use remove Remove an entry from the repository rtag Add a symbolic tag to a module status Display status information on checked out files tag Add a symbolic tag to checked out version of files unedit Undo an edit command update Bring work tree in sync with repository watchSet watches watchers See who is watching a file (Specify the --help option for a list of other help options) bash-2.03$ --- -Original Message- From: Larry Jones [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 09, 2001 12:27 PM To: Sven Dowideit Cc: [EMAIL PROTECTED] Subject: Re: Problems running cvs pserver Sven Dowideit writes: i run ./configure --disable-encryption --prefix=/opt/cvs --with-gssapi=no and then server.c failes to build because it tries to include krb5.h What version of CVS? The Kerberos stuff is a mess, but it's getting better and better as time goes on. this results in an exe that both supports and doesn't support pserver ;) I'm not sure what that's supposed to mean. What do cvs -v and cvs --help-commands say? -Larry Jones It works on the same principle as electroshock therapy. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Diffs by date on a branch?
Is there a way to see diffs by date on a branch? When I do a command like: cvs diff -D 2001/04/20 -D 2001/02/07 foo.bar I get a diff of Trunk revisions over that date range, not revisions from my current branch, which is what I'd like to see. I also tried cvs rdiff -rbranch_tag -D 2001/04/20 -D 2001/02/07 repository_path_tofoo.bar a la cvs log, but it doesn't like all the revisions/dates. TIA, ksb ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
¹Ý°¡¿ö¿ä
¿©·¯ºÐ¿¡°Ô °¡Àå ÇÊ¿äÇÏ°í À¯ÀÍÇÑ ÄÄÇ»ÅÍ °ü·ÃÇÁ·Î±×·¥À» ÆÄ°ÝÀûÀ¸·Î ½Ñ °¡°Ý¿¡ °ø±ÞÇÕ´Ï´Ù ÃֽŰÔÀÓ. À¯Æ¿°ü·ÃÇÁ·Î±×·¥. MP3. ºñµð¿À½Ãµð µîµî ¸ðµç ÇÁ·Î±×·¥À» ÆǸÅÇÕ´Ï´Ù ¹°·Ð ½Å¿ë °ÆÁ¤À» ÀüÇô ½Å°æ¾²Áö ¸¶½Ê½Ã¿ä ¾ÐÃàÈÀϼÓÀÇ ³»¿ëÀ» º¸½ÅÈÄ Àüȳª ¸ÞÀÏ·Î ¿¬¶ôÁֽʽÿä ÀÌ ¸ÞÀÏÀ» º¸³½ ¾ÆÀ̵ð·Î´Â ¿¬¶ôÀÌ µÇÁö ¾Ê½À´Ï´Ù. ¾ÐÃàÈÀϼӿ¡ ¿¬¶ôó°¡ ÀÖ½À´Ï´Ù(¸ÞÀÏ.ÀüȹøÈ£) === Ưº° º¸³Ê½º ½Ãµð¸¦ ÁõÁ¤ÇÕ´Ï´Ù === È®½ÇÇÏ°Ô ÈÞ´ëÆùÀ¸·Î ¿¬¶ôÁÖ½Ê½Ã¿ä °¨»çÇÕ´Ï´Ù ³¡À¸·Î Çã¶ô¾øÀÌ ¸ÞÀÏÀ» µå¸°°ÍÀ» »ç°úµå¸³´Ï´Ù.±×¸®°í ¿©·¯ºÐÀÇ ¸ÞÀÏÁÖ¼Ò´Â ¹«ÀÛÀ§·Î ¸ð¾ÆÁø°ÍÀÌ´Ï ´Ù¸¥ °ÆÁ¤Àº ÇÏÁö ¾ÊÀ¸¼Åµµ µË´Ï´Ù. ¹Ø¿¡ À̾îÁö´Â °°Àº±Û¿¡¼ ¸®½ºÆ®¸¦ ´Ù¿î¹ÞÀ¸½Ç¼ö ÀÖ½À´Ï´Ù. ¸¸ÀÏ ¹Ø¿¡ [ ÀÌ ±ÛÀÌ º¸Àδٸé Á¤»óÀÔ´Ï´Ù ] °¡ º¸ÀÌÁö ¾Ê°Å³ª À̾߱â.»õ·Ò µîÀÇ Åë½ÅÇÁ·Î±×·¥À» »ç¿ëÇϽŴٸé ÷ºÎµÈ ÈÀÏ CDLIST.HTM ¸¦ ´Ù¿î¹ÞÀ¸½ÅÈÄ¿¡ °Å±â¼ ¸®½ºÆ®¸¦ ¹ÞÀ¸½Ã¸é µË´Ï´Ù Title: ÀÌ°÷Àº Á¦¸ñÀÔ´Ï´Ù ÀÌ ±ÛÀÌ º¸Àδٸé Á¤»óÀÔ´Ï´Ù. ==> ¹Ø¿¡¼ ¸®½ºÆ® ´Ù¿î¹ÞÀ¸¼¼¿ä. ¿©·¯ºÐ¿¡°Ô °¡Àå ÇÊ¿äÇÏ°í À¯ÀÍÇÑ ÄÄÇ»ÅÍ °ü·ÃÇÁ·Î±×·¥À» ÆÄ°ÝÀûÀ¸·Î ½Ñ °¡°Ý¿¡ °ø±ÞÇÕ´Ï´Ù ÃֽŰÔÀÓ. À¯Æ¿°ü·ÃÇÁ·Î±×·¥. MP3. ºñµð¿À½Ãµð µîµî ¸ðµç ÇÁ·Î±×·¥À» ÆǸÅÇÕ´Ï´Ù ¹°·Ð ½Å¿ë °ÆÁ¤À» ÀüÇô ½Å°æ¾²Áö ¸¶½Ê½Ã¿ä ¾ÐÃàÈÀϼÓÀÇ ³»¿ëÀ» º¸½ÅÈÄ Àüȳª ¸ÞÀÏ·Î ¿¬¶ôÁֽʽÿä ÀÌ ¸ÞÀÏÀ» º¸³½ ¾ÆÀ̵ð·Î´Â ¿¬¶ôÀÌ µÇÁö ¾Ê½À´Ï´Ù. ¾ÐÃàÈÀϼӿ¡ ¿¬¶ôó°¡ ÀÖ½À´Ï´Ù(¸ÞÀÏ.ÀüȹøÈ£) === Ưº° º¸³Ê½º ½Ãµð¸¦ ÁõÁ¤ÇÏ°í ÀÖ½À´Ï´Ù === È®½ÇÇÏ°Ô ÈÞ´ëÆùÀ¸·Î ¿¬¶ôÁÖ½Ê½Ã¿ä °¨»çÇÕ´Ï´Ù ³¡À¸·Î Çã¶ô¾øÀÌ ¸ÞÀÏÀ» µå¸°°ÍÀ» »ç°úµå¸³´Ï´Ù.±×¸®°í ¿©·¯ºÐÀÇ ¸ÞÀÏÁÖ¼Ò´Â ¹«ÀÛÀ§·Î ¸ð¾ÆÁø°ÍÀÌ´Ï ´Ù¸¥ °ÆÁ¤Àº ÇÏÁö ¾ÊÀ¸¼Åµµ µË´Ï´Ù. ¸®½ºÆ®¸¦ ´Ù¿î¹ÞÀ¸½Ã·Á¸é ¿©±â¸¦ Ŭ¸¯ÇϽÅÈÄ cdlist.zip ¸¦ ´Ù¿î¹ÞÀ¸½Ã¸é µË´Ï´Ù ¸¸ÀÏ Outlook Express ¸¦ »ç¿ëÇϽô ºÐÁß¿¡ ¸®½ºÆ®°¡ Á¦´ë·Î ´Ù¿îÀÌ µÇÁö ¾Ê´Â´Ù¸é ÷ºÎµÈ ÈÀÏ cdlist.htm À» ¿°í ´Ù¿î¹ÞÀ¸½Ã¸é µË´Ï´Ù
FW: CVS problem
Greetings, One of our developers has reported the following behaviour from CVS. I think I've found in the update code where this behaviour, the question is whether there is a reason for this behaviour? Our developer expected the timestamp to revert to the original co timestamp. % cvs co foo/bar.cc % cd foo % ls -l % rm bar.cc % cvs update bar.cc % ls -l % rm bar.cc % vi CVS/Entries (remove the line for bar.cc) % cvs update bar.cc % ls -l The checkout gets the correct timestamnp on the file. The first update gives bar.cc a timestamp which corresponds to the time you issued the update command. The second update give bar.cc the timestamp of the original checkin time of bar.cc *** Chris Cameron Open Telecommunications Ltd Product Manager IN Product Management [EMAIL PROTECTED] P.O.Box 10-388 +64 4 495 8403 (DDI) The Terrace fax: +64 4 495 8419 Wellington cell: +64 21 650 680New Zealand Life, don't talk to me about life (Marvin - HHGTTG) ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Help on - Management Document.
Members Equity Email System Hi all, I've been asked to write a document explaining our development environment. This is to include the processes of sending developed applications into our test environment and then into production. In addition we need to handle roll back strategies, location of runtime and working directories etc. I know what I want to generally put into this document but I would appreciate looking at anyone elses examples of a document like this. Regards, Richard Sharp Members Equity 9 605 6880 0417 342 880 MEMBERS EQUITY PTY LTD ABN 56 070 887 679 This email and any attachments are confidential. If you are not the intended recipient, you must not disclose, distribute, copy or use the information contained in this e-mail or any attachments. If you have received this email in error, please tell us immediately by return email and delete this e-mail and any attachments. This message should not be removed.