Connection refused
Hi, I have installed CVS in my server, created the repository, assigned the correct permissions to group cvs, and added the developers to that group. I have also included in /etc/services the following services: cvspserver 2401/tcp cvspserver 2401/udp cvsup 5999/tcp cvsup 5999/udp Nevertheless, when developers try to import the modules from their client machines, they get the following error: cvs [import aborted]: connect to 208.1.34.222:2401 failed: Connection refused What have I forgotten to do? Best regards, Miguel Ángel Ripalda Marín ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Connection refused
Excuse me, but I made a terrible mistake... my problem had nothing to do with cvs itself... but with xinetd. I'm sorry, Miguel Ángel Ripalda Marín ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Remove a folder with WinCVS?
Peter Davis wrote: Does anyone know if there's a way to remove a folder with WinCVS? We've removed all the files in the folder, but when we select the folder itself, the remove option is grayed out. CVS can't remove directories; it only controls files. To remove empty directories, you need to prune empty directories (cvs update -P). In WinCVS you can select this option in the Globals tab of the Update settings dialog. -Matt ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Question about CVS on Windows NT
Nicolas PEZRON wrote: may I stock Windows files in my CVS tree on Unix or do I have to use a version of CVS for Windows ? (I tried to see for WinCVS but if I can use CVS on Unix, it will be better for me) If it is easy for you to get at files on the UNIX box from Windows, then you don't necessarily need WinCVS. In that case, you should make sure that your Windows editor doesn't change the file line endings to DOS format. If that's a big problem, you might be better off with using WinCVS. I have also heart about cvs on windows but with a unix cvs server, how does it work ? http://www.cvshome.org/docs/manual/cvs_2.html#SEC26 -Matt ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
MSVC Problems
*** Before acting on this e-mail or opening any attachment you are advised to read the disclaimer at the end of this e-mail *** Hi I sent this email to the CVSNT list earlier, but didn't get any response. I'm hoping someone here might be able to help. :-) I'm new to CVSNT and I'm currently importing an MSVC project. I can import the project from the command line (I haven't got to grips with CvsIn_4_2_1_38 yet, more later) without any problem, but when I checkout the project all the folders I've produced in the class view to group my classes have disappeared. Has anyone else had this problem? I assume for some reason the file containing the info about the folders isn't being imported, but the rest of the project settings appear to be there. I've also downloaded the source for CvsIn_4_2_1_38 and can compile it, but I'm not sure what to do then. Obviously I want to install it into MSVC. Any help would be appreciated. Regards Paul Paul Grenyer Software Development Engineer http://www.paulgrenyer.co.uk --LongSig communisis chorleys ltd Manston Lane Crossgates Leeds LS15 8AH Telephone +44 (0)113 225 5271 Fax +44 (0)113 225 5921 Email [EMAIL PROTECTED] ** Please note: This e-mail and its attachments contain only the opinions of the sender and do not necessarily reflect the policy(s) of the communisis group in general. Employees of the communisis group are required not to make any defamatory statements and not to infringe or authorise any infringement of copyright or any other legal right by e-mail. Any such communication is therefore outside the scope of employment of the individual concerned. The communisis group will not accept any liability in respect of such a communication. Confidentiality: This e-mail and any attachments, together with their contents, are confidential unless otherwise explicitly stated in writing by the sender of this e-mail and are for the intended recipient only. If they have come to you in error you must not take any action in respect of them, which includes but is not limited to reproducing, sending or storing them, other than to notifying the sender immediately of the mistake, and deleting the e-mail, any attachments and any reproductions made by replying to it. Viruses: This e-mail and any attachments have been scanned for viruses but we cannot guarantee that they are virus free. The recipient should check this e-mail and any attachments for viruses. The communisis group accepts no responsibility for any damage caused by any virus transmitted by this e-mail or any of its attachments. In the event of any unauthorised copying or forwarding, the recipient will be required to indemnify the communisis group against any claim for loss or damage caused by any viruses or otherwise. ** This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Migrating from VSS to CVS..
Hi, Can any body having experience on how to migrate from vss to cvs. Right now we are in VSS. CVS repository server is ready for use. But having a problem to import the old projects from vss to cvs. Can any body give a idea to how to do this ??? Thanx in advance. With regards, -tesTsui ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Migrating from VSS to CVS..
Title: RE: Migrating from VSS to CVS.. What kind of problems, specifically, are you encountering? My group has just switched from VSS -- we just did a 'get latest' from VSS late one night when no one was working, and did the initial CVS import from that. Best, d. -Original Message- From: uj [mailto:[EMAIL PROTECTED]] Sent: 25 April 2002 08:43 To: [EMAIL PROTECTED] Subject: Migrating from VSS to CVS.. Hi, Can any body having experience on how to migrate from vss to cvs. Right now we are in VSS. CVS repository server is ready for use. But having a problem to import the old projects from vss to cvs. Can any body give a idea to how to do this ??? Thanx in advance. With regards, -tesTsui ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Migrating from VSS to CVS..
uj wrote: Can any body having experience on how to migrate from vss to cvs. I have never used it, but there is a vss2cvs script at http://www.laine.org:8080/cvs/vss2cvs/ that may prove useful. -Matt ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Migrating from VSS to CVS..
Title: RE: Migrating from VSS to CVS.. Folks, Terribly sorry -- did that last message go out as HTML? I've got stupid Outlook configured to send in plain text but I'm not sure it's doing so. Apologies, d. -Original Message- From: Barrett, Dan [mailto:[EMAIL PROTECTED]] Sent: 25 April 2002 09:22 To: 'uj'; '[EMAIL PROTECTED]' Subject: RE: Migrating from VSS to CVS.. What kind of problems, specifically, are you encountering? My group has just switched from VSS -- we just did a 'get latest' from VSS late one night when no one was working, and did the initial CVS import from that. Best, d. -Original Message- From: uj [mailto:[EMAIL PROTECTED]] Sent: 25 April 2002 08:43 To: [EMAIL PROTECTED] Subject: Migrating from VSS to CVS.. Hi, Can any body having experience on how to migrate from vss to cvs. Right now we are in VSS. CVS repository server is ready for use. But having a problem to import the old projects from vss to cvs. Can any body give a idea to how to do this ??? Thanx in advance. With regards, -tesTsui ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
unedit without edit
Suppose someone is working off line and does the following: - Unlock and edit some files; - Connect to the server and do a cvs update - Decide to throw out one of the sets of file changes and revert to the last version. What is the command sequence for doing this? If the user had done a cvs edit on the file originally, then cvs unedit would presumably do what they wanted, but in the scenario I just described, they cannot do an unedit because they never did an edit. It also appears that doing the edit, followed by an unedit does not have the desired result. Throwing out the file and just doing a cvs update on the file is probably not a good idea because a newer version may have been checked in. I suppose that they could update to the version in the CVS/Entries file, but that seems baroque and dangerous, and I'm not sure whether that would create a sticky tag. Not to mention being the sort of thing that casual users should never have to do. Is there some command for ensuring that you obtain a clean copy of the version of a file that you are working on besides cvs unedit? TIA, - rmgw http://www.electricfish.com/hawkfish/ Richard Wesley Electric Fish, Inc. [EMAIL PROTECTED] To be whole is to be part; true voyage is return. - Ursula K. LeGuin, _The Dispossessed_ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Bad time info
Hi, we are currently working with cvs 1.11 software in a Solaris platform. The date in the Operatingy System is correct but the date information of the file when commiting with CVS is 2 hours delayed. My PC date is also correct. Does anyone have an idea of how this date problem could be solved? Thanks in advnace from Barcelona, Alberto. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Migrating from VSS to CVS..
I used it - worked great ! There are a coupla gotchas - read the readme. Matt Riechers wrote: uj wrote: Can any body having experience on how to migrate from vss to cvs. I have never used it, but there is a vss2cvs script at http://www.laine.org:8080/cvs/vss2cvs/ that may prove useful. -Matt ___ 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: unedit without edit
--- Richard Wesley [EMAIL PROTECTED] wrote: Suppose someone is working off line and does the following: - Unlock and edit some files; - Connect to the server and do a cvs update - Decide to throw out one of the sets of file changes and revert to the last version. What is the command sequence for doing this? If the user had done a cvs edit on the file originally, then cvs unedit would presumably do what they wanted, but in the scenario I just described, they cannot do an unedit because they never did an edit. It also appears that doing the edit, followed by an unedit does not have the desired result. Throwing out the file and just doing a cvs update on the file is probably not a good idea because a newer version may have been checked in. I suppose that they could update to the version in the CVS/Entries file, but that seems baroque and dangerous, and I'm not sure whether that would create a sticky tag. Not to mention being the sort of thing that casual users should never have to do. Is there some command for ensuring that you obtain a clean copy of the version of a file that you are working on besides cvs unedit? cvs edit and cvs unedit are supposed to work even when offline (the commands get buffered, then sent next time you use CVS online). To get a clean copy of a file, use cvs up -C. Noel __ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: unedit without edit
Thanks for responding. At 8:07 AM -0700 4/25/02, Noel Yap wrote: --- Richard Wesley [EMAIL PROTECTED] wrote: Is there some command for ensuring that you obtain a clean copy of the version of a file that you are working on besides cvs unedit? cvs edit and cvs unedit are supposed to work even when offline (the commands get buffered, then sent next time you use CVS online). Hmm, I need to figure out whether this detection is accomplished using the cvs gui clients... To get a clean copy of a file, use cvs up -C. Does this functionality requires a particular server version, or is it local to the client? I suspect the latter (and the CvsGUI clients have this functionality), but I thought I should ask... Also, does this cancel a cvs edit? Or must that be done separately? TIA, - rmgw http://www.electricfish.com/hawkfish/ Richard Wesley Electric Fish, Inc. [EMAIL PROTECTED] No, no no. 'Eureka' is Greek: It means 'This bath is too hot.' - Dr. Who, _The Talons of Wen Chi-Ang_ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: unedit without edit
--- Richard Wesley [EMAIL PROTECTED] wrote: Suppose someone is working off line and does the following: - Unlock and edit some files; - Connect to the server and do a cvs update - Decide to throw out one of the sets of file changes and revert to the last version. What is the command sequence for doing this? If the user had done a cvs edit on the file originally, then cvs unedit would presumably do what they wanted, but in the scenario I just described, they cannot do an unedit because they never did an edit. It also appears that doing the edit, followed by an unedit does not have the desired result. Throwing out the file and just doing a cvs update on the file is probably not a good idea because a newer version may have been checked in. I suppose that they could update to the version in the CVS/Entries file, but that seems baroque and dangerous, and I'm not sure whether that would create a sticky tag. Not to mention being the sort of thing that casual users should never have to do. Is there some command for ensuring that you obtain a clean copy of the version of a file that you are working on besides cvs unedit? cvs edit and cvs unedit are supposed to work even when offline (the commands get buffered, then sent next time you use CVS online). To get a clean copy of a file, use cvs up -C. Noel __ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Write permissions on files
Instead of performing a chmod +w filename.c on each file you want to edit, is it possible to have write permissions set automatically on a checkout or update? Danial. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: MSVC Problems
Paul Grenyer writes: I'm new to CVSNT and I'm currently importing an MSVC project. I can import the project from the command line (I haven't got to grips with CvsIn_4_2_1_38 yet, more later) without any problem, but when I checkout the project all the folders I've produced in the class view to group my classes have disappeared. Has anyone else had this problem? CVS only manages files, not directories (or folders, if you prefer). If there aren't any files in the folders, CVS won't create them. -Larry Jones We seem to be out of gun powder. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Bad time info
[EMAIL PROTECTED] writes: we are currently working with cvs 1.11 software in a Solaris platform. The date in the Operatingy System is correct but the date information of the file when commiting with CVS is 2 hours delayed. My PC date is also correct. CVS stores (and displays) dates in UTC, not local time. -Larry Jones Good gravy, whose side are you on?! -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Write permissions on files
Danial Islam writes: Instead of performing a chmod +w filename.c on each file you want to edit, is it possible to have write permissions set automatically on a checkout or update? It's not only possible, that's the way it's supposed to work! You must be doing something special to get read-only files. -Larry Jones He's just jealous because I accomplish so much more than he does. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: added files or removed files.
Nathan Coast writes: There are files in the CVS repository that aren't on my filesystem. I think there are two ways that this can happen: 1) I checked out a full set of files from the repository at some point later I deleted some files from my filesystem. 2) After I checkout out a full set of files from the repository, someone else has added new files to the repository. Is there a mechanism to determine which case applies for each of the missing files? You can look in the CVS/Entries file -- if the file is listed there, it was checked out and you deleted it. If it isn't listed there, you never checked it out. -Larry Jones The game's called on account of sudden death. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Write permissions on files
Hmmm. it's always been like this on my machine as well as when the repository was on another machine. I don't have the $CVSREAD environment variable set, so I do not know what my problem may be. Danial. Larry Jones wrote: Danial Islam writes: Instead of performing a chmod +w filename.c on each file you want to edit, is it possible to have write permissions set automatically on a checkout or update? It's not only possible, that's the way it's supposed to work! You must be doing something special to get read-only files. -Larry Jones He's just jealous because I accomplish so much more than he does. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
deleting a module from cvs repository
hello, i'm new to cvs and have a basic question. i want to delete a module from the real repository. not just the workspace. and i want to delete it permanently. can i remove just the directory on my cvs server? thanks in advance, leif -- Leif Hanack T-Systems GEI GmbH Advanced eBusiness Solutions (AeBS) Alt-Moabit 91a, 10559 Berlin Telefon: (+49 30) 394067-31 Telefax: (+49 30) 394067-99 E-mail: [EMAIL PROTECTED] Internet: www.t-systems.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS directory missing
Hi, I have a module called 'cvscache'. I have imported this into cvs. within cvscache are some files and a directory (src). if I do a checkout into a new directory of the whole module, everything is retrieved from the repository. The problem I have is that there is no CVS directory created at the top level direcotry. So, whenever I attempt any cvs opertations on the files at the top level I get the error: cvs add: cannot open CVS/Entries for reading: No such file or directory cvs [add aborted]: no repository the directory structure after checkout: cvscache - src |- org - foo --- .. | |--- CVS | + Entries |- CVS+ ... | + Entries | + .. | + somefile.txt I believe there should be a CVS directory created as a child of the cvscache directory. This isn't happening. Any help greatly appreciated. Thanks Nathan ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: unedit without edit
--- Richard Wesley [EMAIL PROTECTED] wrote: Does this functionality requires a particular server version, or is it local to the client? I suspect the latter (and the CvsGUI clients have this functionality), but I thought I should ask... I would expect cvs up -C to be client-specific but I'm not sure. I think it got added in cvs-1.11 or later. Also, does this cancel a cvs edit? Or must that be done separately? I believe (since I submitted a patch to do otherwise) that any cvs up will wipe out an edit. Removing this behaviour from CVS greatly cleans up the code (since update.c is no longer dependent on edit.c) and makes the CVS behaviour more modular (if someone wanted the old behaviour, they can always create a script). Noel __ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: added files or removed files.
Thanks, I'm trying to automate the process, is there a CVS command that can give me this information or am I going to have to parse the Entries file to determine this? Larry Jones wrote: Nathan Coast writes: There are files in the CVS repository that aren't on my filesystem. I think there are two ways that this can happen: 1) I checked out a full set of files from the repository at some point later I deleted some files from my filesystem. 2) After I checkout out a full set of files from the repository, someone else has added new files to the repository. Is there a mechanism to determine which case applies for each of the missing files? You can look in the CVS/Entries file -- if the file is listed there, it was checked out and you deleted it. If it isn't listed there, you never checked it out. -Larry Jones The game's called on account of sudden death. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
FW: SETXID_SUPPORT
sorry for delay in replay , but I was looking into this, I tried with cvs.1.11.2 but same result : Larry Jones wrote: You don't say what platform you're running on, but assuming it's Unix-like Yes it's, is a Unix, Hp11 If it does, then you probably have a link problem; if not, it's probably a problem with your changes. The only change that I made according with the INTALL manual to set setgid: also modified the Makefile with : DEFS = -DSETXID_SUPPORT -DHAVE_CONFIG_H 14. How about using groups and setgid() then? Here is a way to run CVS setgid in some environments: Stick this near the front of the main() in main.c: setgid(getegid()); This will allow access to work on systems where it only works on the real gid. Create a group named cvsg. (This example uses cvsg. You can name it as you wish.) Put *no* users in the cvsg group. You can put Repository administrators in this group if you want to. Set the cvs executable to setgid (not setuid): cd /usr/local/bin; chown root.cvsg cvs; chmod 2755 cvs Make sure every file in the Repository is in group cvsg: chown -R root.cvsg $CVSROOT Change all directory permissions to 770. This allows all access to the files by the cvsg group (which has no members!) and no access at all to anyone else. find $CVSROOT -type d -exec chmod 2770 {} \; On some systems you might have to type: find $CVSROOT -type d -exec chmod u=rwx,g=rwx,o=,g+s {} \; I don't know if for the new version 1.11.2 it needs a requirement, like libraries or something. or for getegid needs an extra change. Please advise. Thanks. Moises Moises Zanabria writes: This is a multi-part message in MIME format. Please do not send MIME and/or HTML encrypted messages to this list. Plain text only, please. I got this : revision 1.1 date: 2002/03/08 23:08:31; author: uid15364; state: Exp; branches: 1.1.1; Initial revision and actually if I use my cvs 1.10 (server) I see : revision 1.2 date: 2002/03/08 23:08:31; author: mzanabri; state: Exp; Any ideas what I doing wrong. You don't say what platform you're running on, but assuming it's Unix-like, that implies that the getpwuid() system call with your uid returned NULL. If you're using NIS (nee Yellow Pages) to distribute users and passwords, it may be that you need to link with a special library to get an NIS-enabled version of that routine. Or it could be one of your modifications. You might want to try building an unmodified version of CVS and see if it has the same problem. If it does, then you probably have a link problem; if not, it's probably a problem with your changes. -Larry Jones You should see me when I lose in real life! -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: added files or removed files.
Nathan Coast writes: I'm trying to automate the process, is there a CVS command that can give me this information or am I going to have to parse the Entries file to determine this? You can probably get it from a combination of the update and status commands. -Larry Jones Hmph. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Write permissions on files
Danial Islam writes: Instead of performing a chmod +w filename.c on each file you want to edit, is it possible to have write permissions set automatically on a checkout or update? It's not only possible, that's the way it's supposed to work! You must be doing something special to get read-only files. If there was a cvs watch on applying to those files, wouldn't they be checked out or updated read-only? If this was being done on these files, then presumably cvs edit would be the way to make them writable, not chmod +w. If cvs edit is being used, then it should be used; otherwise, try cvs watch off at top level. David H. Thornley| If you want my opinion, ask. [EMAIL PROTECTED] | If you don't, flee. http://www.thornley.net/~thornley/david/ | O- ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
binary documentation locking?
Hi all, Is there any mechanism in CVS to force a check outs 'read-only' for certain modules. I would like to have a documentation module such that code is initially checked out read-only. When a user wishes to edit a file, he uses 'cvs edit' and the file becomes read write. No other user should be abe to do a 'cvs edit' while someone else has a file in 'edit' mode. These requirements are because these documentation files are binary. I don't want more then one person to edit a file and try to merge. Any insight is appreciated. Thanks -- Nick ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Write permissions on files
No, I am not applying any watch on these files. Just the usual pserver stuff. Danial. [EMAIL PROTECTED] wrote: Danial Islam writes: Instead of performing a chmod +w filename.c on each file you want to edit, is it possible to have write permissions set automatically on a checkout or update? It's not only possible, that's the way it's supposed to work! You must be doing something special to get read-only files. If there was a cvs watch on applying to those files, wouldn't they be checked out or updated read-only? If this was being done on these files, then presumably cvs edit would be the way to make them writable, not chmod +w. If cvs edit is being used, then it should be used; otherwise, try cvs watch off at top level. David H. Thornley| If you want my opinion, ask. [EMAIL PROTECTED] | If you don't, flee. http://www.thornley.net/~thornley/david/ | O- ___ 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
Disabling -n option to commit/rtag
According to the manual, the -n option can be specified in a commit, rtag, export or checkout command, to avoid running ant checkout/commit/tag programs. As a CVS administrator, how can I completely disable use of this option, or otherwise ensure that the these programs are -always- run? I am using programs run via admin files and want them to be run always- at least on every commit and tag/rtag. Thanks! George -n Do not run any checkout/commit/tag program. (A program can be specified to run on each of these activities, in the modules database (see Section C.1 [modules], page 135); this option bypasses it). Warning: this is not the same as the overall 'cvs -n' option, which you can specify to the left of a cvs command! ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
HI,Could u heip me,about the vss2cvs.pl Thx
hi ,when i use the vss2cvs.pl . when the script run there will display these information : 1.chmod : getting attributes of 'convert':No such file or directory .2:Cannot find SS.INI file(but i put the SS.INI file in the same folder with the vss2cvs.pl).Could u give some instructions to handle the problem? thank u very much! Wang Yue Best Regards, OneWave Technologies, Inc. emai: [EMAIL PROTECTED] tel: 86-21-62479900-3029 ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
How to remove a project from a cvs repository?
Hi, we've set up an OpenBSD 3.0 server to manage our source code. The clients are running under Win with WinCVS. First we started some test projects that we want now to get rid of. Is there any way to remove these test projects (and all appropriate directorys) completely from the cvs repository (not only from the working directory)? I was browsing through cvshome.org and cvsbook.red-bean.com the better part of the day but found nothing appropriate. So long and TIA ... -- * Dipl.-Phys. WIGE DATA Fon: 0341 4621242* * Thomas Woelflick Wiesenring 11 Fax: 0341 4621400 // * * Networking Dept. 04159 Leipzig www.wige-data.de \\ // * * Germany ICQ: 83024808 \X/ * ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Remove a folder with WinCVS?
Matt Riechers [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: Subject: Re: Remove a folder with WinCVS? From: Matt Riechers [EMAIL PROTECTED] Newsgroups: gnu.cvs.help Peter Davis wrote: Does anyone know if there's a way to remove a folder with WinCVS? We've removed all the files in the folder, but when we select the folder itself, the remove option is grayed out. CVS can't remove directories; it only controls files. To remove empty directories, you need to prune empty directories (cvs update -P). In WinCVS you can select this option in the Globals tab of the Update settings dialog. Thanks. Will this remove the directories from the CVS database next time a commit is done? In other words, if I do this, then do a commit, and then do another update, will the directory be re-created by the update? Thanks, -pd -- Peter Davis Pageflex Inc 617-520-8345 215 First Street 617-868-0784 (FAX) Cambridge, MA 02142 [EMAIL PROTECTED] http://www.pageflexinc.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: SETXID_SUPPORT
sorry for delay in replay , but I was looking into this, I tried with cvs.1.11.2 but same result : Larry Jones wrote: You don't say what platform you're running on, but assuming it's Unix-like Yes it's, is a Unix, Hp11 If it does, then you probably have a link problem; if not, it's probably a problem with your changes. The only change that I made according with the INTALL manual was: 14. How about using groups and setgid() then? Here is a way to run CVS setgid in some environments: Stick this near the front of the main() in main.c: setgid(getegid()); This will allow access to work on systems where it only works on the real gid. Create a group named cvsg. (This example uses cvsg. You can name it as you wish.) Put *no* users in the cvsg group. You can put Repository administrators in this group if you want to. Set the cvs executable to setgid (not setuid): cd /usr/local/bin; chown root.cvsg cvs; chmod 2755 cvs Make sure every file in the Repository is in group cvsg: chown -R root.cvsg $CVSROOT Change all directory permissions to 770. This allows all access to the files by the cvsg group (which has no members!) and no access at all to anyone else. find $CVSROOT -type d -exec chmod 2770 {} \; On some systems you might have to type: find $CVSROOT -type d -exec chmod u=rwx,g=rwx,o=,g+s {} \; I don't know if for the new version 1.11.2 it needs a requirement, like libraries or something. or for getegid needs an extra change. Please advise. Thanks. Moises Moises Zanabria writes: This is a multi-part message in MIME format. Please do not send MIME and/or HTML encrypted messages to this list. Plain text only, please. I got this : revision 1.1 date: 2002/03/08 23:08:31; author: uid15364; state: Exp; branches: 1.1.1; Initial revision and actually if I use my cvs 1.10 (server) I see : revision 1.2 date: 2002/03/08 23:08:31; author: mzanabri; state: Exp; Any ideas what I doing wrong. You don't say what platform you're running on, but assuming it's Unix-like, that implies that the getpwuid() system call with your uid returned NULL. If you're using NIS (nee Yellow Pages) to distribute users and passwords, it may be that you need to link with a special library to get an NIS-enabled version of that routine. Or it could be one of your modifications. You might want to try building an unmodified version of CVS and see if it has the same problem. If it does, then you probably have a link problem; if not, it's probably a problem with your changes. -Larry Jones You should see me when I lose in real life! -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Migrating from VSS to CVS..
This link has a perl script that can help you get from vss into cvs: http://www.laine.org:8080/cvs/vss2cvs/ uj [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... Hi, Can any body having experience on how to migrate from vss to cvs. Right now we are in VSS. CVS repository server is ready for use. But having a problem to import the old projects from vss to cvs. Can any body give a idea to how to do this ??? Thanx in advance. With regards, -tesTsui ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
splitting CVSROOT/modules into multiple files?
Hello, is it possible to use more than one modules file in CVS? I would like the modules file to behave like http.conf in apache using the include directive. Example: --SNIP: CVSROOT/modules-- modulename modulename # this is an test module Include modules.project1 Include modules.project2 --SNAP: CVSROOT/modules-- --SNIP: CVSROOT/modules.project1-- modulename1 modulename1 # testmodule1 --SNIP: CVSROOT/modules.project1-- --SNIP: CVSROOT/modules.project2-- modulename2 modulename2 # testmodule1 --SNIP: CVSROOT/modules.project2-- If this is not available in the current version of CVS (where currently using 1.11 on Solaris I think), will it be in future versions? Regards Andreas Thalau ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
1.11 compatible with 1.10 files?
Our current cvs version is 1.10 and we are thinking of upgrading to 1.11. Is 1.11 completely backwards compatible with the 1.10 structure the cvs server uses? -shane ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: How to remove a project from a cvs repository?
[EMAIL PROTECTED] writes: First we started some test projects that we want now to get rid of. Is there any way to remove these test projects (and all appropriate directorys) completely from the cvs repository (not only from the working directory)? You have to remove them from the repository by hand. -Larry Jones I'm a genius. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Remove a folder with WinCVS?
Peter Davis wrote: Matt Riechers [EMAIL PROTECTED] wrote in news:[EMAIL PROTECTED]: Subject: Re: Remove a folder with WinCVS? From: Matt Riechers [EMAIL PROTECTED] Newsgroups: gnu.cvs.help Peter Davis wrote: Does anyone know if there's a way to remove a folder with WinCVS? We've removed all the files in the folder, but when we select the folder itself, the remove option is grayed out. CVS can't remove directories; it only controls files. To remove empty directories, you need to prune empty directories (cvs update -P). In WinCVS you can select this option in the Globals tab of the Update settings dialog. Thanks. Will this remove the directories from the CVS database next time a commit is done? In other words, if I do this, then do a commit, and then do another update, will the directory be re-created by the update? Sorry if I wasn't clear before. 'cvs update -P' only prunes directories out of your working copy; not the repository. See the manual for more details: http://www.cvshome.org/docs/manual/cvs_7.html#SEC66 -Matt ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Disabling -n option to commit/rtag
George Schlitz writes: According to the manual, the -n option can be specified in a commit, rtag, export or checkout command, to avoid running ant checkout/commit/tag programs. As a CVS administrator, how can I completely disable use of this option, or otherwise ensure that the these programs are -always- run? I am using programs run via admin files and want them to be run always- at least on every commit and tag/rtag. There are no provisions for disabling the -n option. -Larry Jones The problem with the future is that it keeps turning into the present. -- Hobbes ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: deleting a module from cvs repository
Leif Hanack writes: i'm new to cvs and have a basic question. i want to delete a module from the real repository. not just the workspace. and i want to delete it permanently. can i remove just the directory on my cvs server? Yes, if you're sure you're never going to want any of the historical information about it ever again. -Larry Jones Mr. Subtlety drives home another point. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: splitting CVSROOT/modules into multiple files?
Andreas Thalau writes: is it possible to use more than one modules file in CVS? I would like the modules file to behave like http.conf in apache using the include directive. No. If this is not available in the current version of CVS (where currently using 1.11 on Solaris I think), will it be in future versions? Only if people generally think it's a good idea and someone writes the code and contributes it. -Larry Jones I've got an idea for a sit-com called Father Knows Zilch. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: 1.11 compatible with 1.10 files?
Shane McDaniel writes: Our current cvs version is 1.10 and we are thinking of upgrading to 1.11. Is 1.11 completely backwards compatible with the 1.10 structure the cvs server uses? Yes. -Larry Jones I think my cerebellum just fused. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Write permissions on files
--- Danial Islam [EMAIL PROTECTED] wrote: No, I am not applying any watch on these files. Just the usual pserver stuff. There's a few things that'll cause read-only files to be checked out from CVS: 1. CVS_READ env var is set 2. -r option to cvs is used (even in your .cvsrc file) 3. watches have been set (by anyone) 4. your version of cvs is patched to create read-only files I think these are all of them, but I could've missed one or two. Noel __ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
merge mode for XML
Is there a merge mode or merge algorithm that works well for XML files? Any experience here? Sean. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
checkout aborted - Entries.Backup?
Hi, I'm getting this error message, anyone have any ideas what's going on? cvs [checkout aborted]: cannot rename file CVS/Entries.Backup to CVS/Entries: File exists I get the error whilst attempting to checkout a file 'cvscache/src/added.txt' cvscache/src/CVS contains both Entries and Entries.Backup files. cvscache/src/CVS/Entries contains: D cvscache/src/CVS/Entries.Backup contains: D/org Thanks Nathan ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Write permissions on files
There are a number of other reasons this can happen: - -r on the command line - .cvsrc (or perhaps other cvsrc'ish files?) - CVSREAD environment variable - some global option in CVSROOT/config, I think For more info: - see the section File Permissions in the CVS manual - search the list archives, especially for CVSREAD; this has been discussed before Note that as soon as you define the CVSREAD environment variable, you'll get read-only files. The value is *ignored*; the mere fact that CVSREAD is present in the environment at all is what matters. On Thu, Apr 25, 2002 at 04:08:26PM -0400, Danial Islam wrote: No, I am not applying any watch on these files. Just the usual pserver stuff. Danial. [EMAIL PROTECTED] wrote: Danial Islam writes: Instead of performing a chmod +w filename.c on each file you want to edit, is it possible to have write permissions set automatically on a checkout or update? It's not only possible, that's the way it's supposed to work! You must be doing something special to get read-only files. If there was a cvs watch on applying to those files, wouldn't they be checked out or updated read-only? If this was being done on these files, then presumably cvs edit would be the way to make them writable, not chmod +w. If cvs edit is being used, then it should be used; otherwise, try cvs watch off at top level. David H. Thornley| If you want my opinion, ask. [EMAIL PROTECTED] | If you don't, flee. http://www.thornley.net/~thornley/david/ | O- ___ 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 -- | | /\ |-_|/ Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED] | | / Outlook not so good. That magic 8-ball knows everything! I'll ask about Exchange Server next. - Anonymous ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Write permissions on files
--- Danial Islam [EMAIL PROTECTED] wrote: Hmmm. it's always been like this on my machine as well as when the repository was on another machine. I don't have the $CVSREAD environment variable set, so I do not know what my problem may be. Have you tried to read the documentation? Noel __ Do You Yahoo!? Yahoo! Games - play chess, backgammon, pool and more http://games.yahoo.com/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: checkout aborted - Entries.Backup?
my fault, the code I'd written to parse Entries didnt clean up after itself so Entries.Backup couldn't overwrite Entries Nathan Coast wrote: Hi, I'm getting this error message, anyone have any ideas what's going on? cvs [checkout aborted]: cannot rename file CVS/Entries.Backup to CVS/Entries: File exists I get the error whilst attempting to checkout a file 'cvscache/src/added.txt' cvscache/src/CVS contains both Entries and Entries.Backup files. cvscache/src/CVS/Entries contains: D cvscache/src/CVS/Entries.Backup contains: D/org Thanks Nathan ___ 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: Migrating from VSS to CVS..
Hi, Actually my VSS data is nearly 4gb. It is I felt very difficult to getlatest and than latter import it to CVS. One more thing is if u r doing get latest than the history of all datas showing as current date only. Than how can we measure the version ??? Any more ideas suggestions wel-come. Thanx. With Regards, -T.. On Thu, 25 Apr 2002, Barrett, Dan wrote: Date: Thu, 25 Apr 2002 09:21:51 -0400 From: Barrett, Dan [EMAIL PROTECTED] To: 'uj' [EMAIL PROTECTED], '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: RE: Migrating from VSS to CVS.. What kind of problems, specifically, are you encountering? My group has just switched from VSS -- we just did a 'get latest' from VSS late one night when no one was working, and did the initial CVS import from that. Best, d. -Original Message- From: uj [mailto:[EMAIL PROTECTED]] Sent: 25 April 2002 08:43 To: [EMAIL PROTECTED] Subject: Migrating from VSS to CVS.. Hi, Can any body having experience on how to migrate from vss to cvs. Right now we are in VSS. CVS repository server is ready for use. But having a problem to import the old projects from vss to cvs. Can any body give a idea to how to do this ??? Thanx in advance. With regards, -tesTsui ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs -- Systems Admn. MMimaginetech . kjasdkfhkd sadljks ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
cvs history problem
Hi, CVS history for a single file is not working. when I use the command cvs history [file name] It shows only the history of all direcotries' time, last updated by me. In that also it is not showing the history of few directories named EDIFiles. I have tested with other option like -e -T. Thanks, Kamales ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Migrating from VSS to CVS..
Recently I have converted VSS data to CVS and it works fine. The following set of softwares is used by me : ActivePerl Ver. 5.6.1 (http://www.activeperl.com). This is used to run the perl script necessary for converting the VSS data to CVS data format. Emulating environment for Unix in DOS( used GNU Utilities for Win32 from http://unxutils.sourceforge.net/ , the file is UnxUtils.zip). Vss2cvs.pl script available at www.laine.org:8080/cvs/vss2cvs Sumit - Original Message - From: uj [EMAIL PROTECTED] To: Barrett, Dan [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, April 26, 2002 9:29 AM Subject: RE: Migrating from VSS to CVS.. Hi, Actually my VSS data is nearly 4gb. It is I felt very difficult to getlatest and than latter import it to CVS. One more thing is if u r doing get latest than the history of all datas showing as current date only. Than how can we measure the version ??? Any more ideas suggestions wel-come. Thanx. With Regards, -T.. On Thu, 25 Apr 2002, Barrett, Dan wrote: Date: Thu, 25 Apr 2002 09:21:51 -0400 From: Barrett, Dan [EMAIL PROTECTED] To: 'uj' [EMAIL PROTECTED], '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: RE: Migrating from VSS to CVS.. What kind of problems, specifically, are you encountering? My group has just switched from VSS -- we just did a 'get latest' from VSS late one night when no one was working, and did the initial CVS import from that. Best, d. -Original Message- From: uj [mailto:[EMAIL PROTECTED]] Sent: 25 April 2002 08:43 To: [EMAIL PROTECTED] Subject: Migrating from VSS to CVS.. Hi, Can any body having experience on how to migrate from vss to cvs. Right now we are in VSS. CVS repository server is ready for use. But having a problem to import the old projects from vss to cvs. Can any body give a idea to how to do this ??? Thanx in advance. With regards, -tesTsui ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs -- Systems Admn. MMimaginetech . kjasdkfhkd sadljks ___ 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