RE: Unknown Host error
John, Since you are not specifying the CVSROOT with the -d option the value for CVSROOT might be different in the script then at the command line. The script might be setting the CVSROOT environment variable or the CVS_RSH environment variable, for example. You must have CVSROOT set on your system or you would need to use the -d option on the command line. Check the script to see if it is setting those variables. If the script is running as a different user I guess it's also possible it might be using a different environment, too, but given Windows I doubt that is the case. -Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Molesky Sent: Thursday, June 09, 2005 10:44 AM To: info-cvs@gnu.org Subject: Unknown Host error All- I imagine this question has an obvious answer, but it is escaping me... I am trying to run a vss to cvs script (vss2cvs.pl) and I am getting the following error: c: Unknown Host rsh: can't establish connection cvs [import aborted]: end of file from server (consult above messages if any) cvs -f import -m Directory structure from VSS RK from VSS transfer However, if I enter that line of the script manually at the command line (cvs -f import -m Directory structure from VSS RK fromVSS transfer), it works fine. I have both the cvs and vss repos on an XP workstation and have installed activeperl as described in the install doc. Thanks for any help. -John -- -- Visit our Internet site at http://www.reuters.com To find out more about Reuters Products and Services visit http://www.reuters.com/productinfo Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
RE: Sorry about this newby question
You have to be able to access the CVSROOT even for an add. The server will check to see if the file was previously deleted and if so retrieve it from the attic. Also, if the file were in a new directory the directory would be added to the repository. In general you should expect most cvs commands to cause the client to communicate with the server. I am not sure why you included the bit about cvs init. You are obviously checking out files from somewhere other than your local machine. You don't need to create a repository on your machine to use the client. You could have just done the checkout without doing that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Sent: Friday, June 03, 2005 8:01 PM To: info-cvs@gnu.org Subject: Sorry about this newby question Hello, I apologize in advance for what is no doubt a foolish question, but I'd greatly appreciate it if a kind soul could set me straight. I've just checked out a CVS archive (I have Fedora Core 1 running on a laptop, if that matters). export CVSROOT=/usr/local/cvs mkdir $CVSROOT cd $CVSROOT cvs init cvs -d:pserver:[EMAIL PROTECTED] login cvs -z3 -d:pserver:[EMAIL PROTECTED] co modulename (I pasted in the instructions that were on the site, so I'm pretty sure I did it right.) Now I want to add a file to the local repository (by that I mean the sandbox). But I am on a laptop, not connected to the Internet. cd modulename cp /home/jim/newfilename . cvs add newfilename and the system objects unknown host ... (it names the host from which I checked out the material). Of course, I can see why it would give me such an objection on a commit or an update, but should I be getting it on an add or a status? It isn't the case that I have to be connected, is it? Sorry; I'm just not seeing something. Thanks, Jim Hefferon ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
RE: CVS server for Win 2000?
Another option is to install Cygwin and use the cvs server that is part of Cygwin. Cygwin also has lots of other goodies from the Unix world like an ssh server, grep, tail, etc. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of alexx Sent: Thursday, March 03, 2005 8:16 AM To: info-cvs@gnu.org Subject: Re: CVS server for Win 2000? Thanks Jim! That was my question (which was also the topic title). Pardon any bitterness about downgrading from SuSE 9 to Win2k. ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
RE: Long version numbers | Tedious to keep track
Swaroop, It is not clear from your message why you need to use the rcs version numbers. If you are already using tags then you seem to have missed the point of why they are useful. I can't imagine a reason why you couldn't just tell somebody the tag name and have that be good enough. Maybe I just don't understand what you are trying to do, however. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Swaroop George Sent: Wednesday, March 02, 2005 5:47 AM To: Russ Sherk Cc: info-cvs@gnu.org Subject: Re: Long version numbers | Tedious to keep track We use version numbers extensively to inform the client infrastructure point of contact about the particular version of file going in during a particular release. Hence these version numbers form the core part of any communication. We already have a tagging/ branching system in place. - Swaroop On Tue, 1 Mar 2005 09:48:57 -0500, Russ Sherk [EMAIL PROTECTED] wrote: Why are you using these rel nums? CVS auto generates these version numbers. The length of the version number must grow when branches are made so that cvs can track multiple versions of (base) versions of a file. There really should only be a few scenarios which require direct use of the cvs version numbers. To simplify, it is advisable implement a tagging/branching system in your repository. Have a look at the cvs howto tags and branches section. There is a really good conceptual diagram of how tags work with the rcs version numbers. The history will always be preserved (it is the nature of cvs; everything is versioned). Creating a fresh root won't solve your probelm in the long run. Cheers, --Russ On Tue, 1 Mar 2005 11:14:08 +0530, Swaroop George [EMAIL PROTECTED] wrote: Hi, I am experiencing a peculiar problem. Ours is a huge project and had multiple enhancement versions going in since live. Inaddition, we have monthly maintenance release as well as patch releases on an as needed basis. All this led us creating multiple branches to the code base. And the version numbers have now become as long as 1.2.2.1.2.1.2.1 and quite cumbersome to handle. - Is there anyway of alternate versioning and making it much more simple, but still maintaining the history to an extent. - How about creating a fresh root after archiving the current code to a backup? Bright ideas are welcome.. Thanks in advance Swaroop ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
RE: cvs without a server
Ed, I don't think you are going to get too far using cvs for offline access to a repository. If you are running an open source project why don't you just move it to a hosting site like sourceforge.net? Sourceforge provides an Internet-accessible cvs repository for all of your developers free of charge. It also provides free bug tracking and mailing lists and makes your project more widely accessible. All you have to do is submit a request to them and in a day or so you will have a powerful resource for your project. -Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ed Sutter Sent: Wednesday, February 02, 2005 8:21 AM To: cvs Subject: cvs without a server Hi, I posted a question the other day and didn't get a response. I'm hoping that the lack of response was not due to the lack of an answer, so I'll rephrase the question... I manage/maintain a small open source project. Internally I was using SourceSafe and I distributed the project to folks as a tarball consisting of the latest version of all the source files. This made it difficult for users to keep track of changes. To improve this process, I recently moved over to CVS for my internal change-control. Unfortunately I can't provide access to the repository using a CVS server; but I'm still hoping that there is a way for CVS to allow users of the project to keep track of changes between their current tree and a newer tree. I know I can simply provide a tarball of the entire repository, but then how does a user figure out what changes have been made since the last time they downloaded the repository? Is there any common/recommended way to do this? Thanks Ed ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Re: System username and :ext:/SSH
Hi, There must be at least one operating system user for you to use ext with ssh because ssh is a remote login method. The purpose of ssh is to allow a user a remote login so it does not make sense to not have a user. That being said, the ssh user account can be configured to have very limited permissions. The user's shell can be set to null in /etc/passwd and the user can be restricted from an interactive login session and can even be restricted to allow just a single command to be issued - namely cvs server based on sshd configuration. With all of this set up the remote user can't do much other than execute cvs commands on the server. -Mark - Original Message - From: Lazy Dumbness [EMAIL PROTECTED] To: CVS-II Discussion Mailing List [EMAIL PROTECTED] Sent: Sunday, November 16, 2003 8:32 PM Subject: Re: Re: System username and :ext:/SSH I also have a question.Maybe you have told about it but only I'm not understand. I want to know,via :ext:/SSH,weather a user must be and OS user?No matter how security the ssh is.I don't want give them the OS account.The /CVSROOT/passwd file, :pserver: give a way needn't system account but still can access the CVS repository.Is ssh also can do so? I'm afraid it can't,because I tried but failed. [ On Sunday, November 16, 2003 at 11:22:41 (+0200), Stephen Biggs wrote: ] Subject: System username and :ext:/SSH Is there a way to duplicate the behavior of the CVSROOT/passwd actions when logging on with SSH? Specifically, if there is a system username alias in the passwd file, this takes effect when logging on with a password. Is there a way to get that system username when accessing the repository using SSH through :ext:? SSH is SSH. It's a true remote job execution protocol with the ability to enforce strong authentication and full Unix authorisation. Every SSH user is a real OS user. I.e. SSH makes it possible to use a remote CVS server with almost as much security as one would be able to achieve if everyone had to do all their CVS work directly on the machine where the CVS repository resides. You don't need, or want, anything to do with the flawed and totally insecure cvs-pserver functionality when you're using SSH properly. -- Greg A. Woods +1 416 218-0098 VE3TCPRoboHack [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 ___ 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: CVS server set up
Krishna, I realized that didn't make sense after I sent it. Sorry about that. If you are using plink you can pass the location of the private key file with the -i argument to plink. This is the same argument you would pass to ssh. Of course, you would need to have the key in the Putty format. If it is not already then you can read it in with Puttygen and then save it out in Putty format. If you want plink to work with cvs then I suggest you create a saved session in Putty and then reference the session from plink. When you save the Putty session make sure you specified you are using a private key under Connection/SSH/Auth in the tree to the left in the Putty main window (use the Browse button to find your private key file). If you set your CVSROOT to use the session name then it will work automatically. I believe you can look at the Putty documentation for this. In my case the saved Putty session is called cvssession. So I set my CVSROOT environment variable to :ext:cvssession:/cvs This tells cvs to connect using the program referenced by CVS_RSH and pass it the value of cvsession to access a cvs repository located at /cvs on the server. Plink will know how to access the session from the Windows registry by name. Note: You should include the cvs list on your posts so that others can benefit from the discussion. Good Luck, Mark - Original Message - From: Krishna Arya [EMAIL PROTECTED] To: Mark Priest [EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 3:06 PM Subject: Re: CVS server set up Hey Mark, Thank you for your email... On the client side the private key should be stored in ~/.ssh/id_rsa In your email you mentioned that the private key should be stored in the above directory. I am using windows operating system on the client side so where should I store the id_rsa key on windows though, this point is not clear to me... Thank you very much for any ideas, Vijayram.. --- Mark Priest [EMAIL PROTECTED] wrote: Krishna, The error message indicates that your cvs client is configured to use rsh instead of ssh. You will need to set the CVS_RSH environment variable to point to the ssh client executable (i.e. set CVS_RSH=plink). You should use plink instead of Putty (available from the same website) since you want a command line ssh connection. On the client side the private key should be stored in ~/.ssh/id_rsa or ~/.ssh/id_dsa depending on whether it is a rsa or dsa key. It must be in the correct format for the version of ssh you are using and the implementation that you are using (it is different for OpenSSH, ssh.com, etc). You should test the ssh connection without cvs first to make sure that it is configured correctly. Also, you will need to add the cvs server public key to your known_hosts file. The easiest way to do this is to connect once with Putty to the ssh server and just select 'y' when it asks you to add the host to your known_hosts file (in ~/.ssh/known_hosts). Good luck, Mark - Original Message - From: Krishna Arya [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 03, 2003 6:59 PM Subject: CVS server set up Dear Mr.Mark, I am trying to set up CVS server using SSH protocol. I was following your steps chalked on a CVS configuration reply. I am using WinCVS on the client side to connect to the CVS server. These are the steps I did, - generated the private key, I stored in the server under ~/.ssh2/authorization directory. I did not understand where to store this key on the client side. - I configured putty.exe to connect to the server via ssh2. I executed the command to checkout a project from the repository but I am getting this error, cvs [checkout aborted]: cannot start server via rsh: No such file or directory I checked the repository path given and it is correct and the project specified does exist in the repository. Could you help me with any suggestions as to where I could possibly going wrong.. Thanks, Vijayram. __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS server set up
Krishna, The error message indicates that your cvs client is configured to use rsh instead of ssh. You will need to set the CVS_RSH environment variable to point to the ssh client executable (i.e. set CVS_RSH=plink). You should use plink instead of Putty (available from the same website) since you want a command line ssh connection. On the client side the private key should be stored in ~/.ssh/id_rsa or ~/.ssh/id_dsa depending on whether it is a rsa or dsa key. It must be in the correct format for the version of ssh you are using and the implementation that you are using (it is different for OpenSSH, ssh.com, etc). You should test the ssh connection without cvs first to make sure that it is configured correctly. Also, you will need to add the cvs server public key to your known_hosts file. The easiest way to do this is to connect once with Putty to the ssh server and just select 'y' when it asks you to add the host to your known_hosts file (in ~/.ssh/known_hosts). Good luck, Mark - Original Message - From: Krishna Arya [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 03, 2003 6:59 PM Subject: CVS server set up Dear Mr.Mark, I am trying to set up CVS server using SSH protocol. I was following your steps chalked on a CVS configuration reply. I am using WinCVS on the client side to connect to the CVS server. These are the steps I did, - generated the private key, I stored in the server under ~/.ssh2/authorization directory. I did not understand where to store this key on the client side. - I configured putty.exe to connect to the server via ssh2. I executed the command to checkout a project from the repository but I am getting this error, cvs [checkout aborted]: cannot start server via rsh: No such file or directory I checked the repository path given and it is correct and the project specified does exist in the repository. Could you help me with any suggestions as to where I could possibly going wrong.. Thanks, Vijayram. __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS screwing up Word documents
Neil, If the keyword expansion is not correct for your Word files then one of two things must be happening. Either you are using the -k option with the checkout, add, or update commands or there is something wrong with your cvswrappers file. Make sure that you are not passing a -k flag when checking out or updating files (or using the -k flag on adds) since it becomes sticky when it used with these two commands. Alternatively, specifically use -kb explicitly whenever you are adding binary files such as Word documents. Cygwin programs can operate on files in either binary or text mode as explained in http://cygwin.com/cygwin-ug-net/using-textbinary.html. You might want to try adding tty binmode to your CYGWIN environment variable to ensure that Cygwin programs are always using binary mode. If tty is not set then I think that the Cygwin cvs client might treat standard input and output in text mode rather than binary mode which would corrupt the cvs protocol. Good Luck, Mark - Original Message - From: Neil Aggarwal [EMAIL PROTECTED] To: 'Mark Priest' [EMAIL PROTECTED] Cc: 'CVS-II Discussion Mailing List' [EMAIL PROTECTED] Sent: Saturday, October 04, 2003 9:40 PM Subject: RE: CVS screwing up Word documents Mark: This should not happen if the cvswrappers file has that line and your Word docs have a .doc extension. That is what we have. You can use the log command to verify that the Keyword substitution is set to 'b' for those files. I did that. The keyword substituion is set to kv, which is wrong. Are you using Cygwin by any chance? If so it is possible that you are running into a problem with line ending conversions from Cygwin. Yes, we are using cygwin to tunnel the cvs thru ssh. Do you know how to work around this? Thanks, Neil -- Neil Aggarwal, JAMM Consulting, (972)612-6056, www.JAMMConsulting.com FREE! Valuable info on how your business can reduce operating costs by 17% or more in 6 months or less! = http://newsletter.JAMMConsulting.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Repository design suggestions
Martyn, I have not done anything like this myself but I think some of the information in Chapter 7, System Administration with CVS, from Open Source Development with CVS by Karl Fogel and Moshe Bar might be helpful to you. A free version of the book under the GPL license can be downloaded from http://cvsbook.red-bean.com/. -Mark - Original Message - From: Martyn Klassen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 08, 2003 5:00 PM Subject: Repository design suggestions I'm trying to design the repository structure for a group of projects under team development and was wondering if anyone with more experience might have some recommendations for an efficient design. The projects are extensions to a commercial application and consist largely of text files (macros, menus, c-code, etc.). To be useful, tested/debugged, the project files have to be in the directories dictated by the application. Initial I thought this wouldn't be a problem, you simply make the repository tree structure the same as that used by the application and check out a working copy on top of the directories used by the application. Of course releasing the project becomes difficult because cvs release -d is not smart enough to only delete files under cvs control, but more problematic is the issue of when you need two or more projects checked out at the same time. CVS will not allow you to check out files from two trees in the repository to the same working directory. You could put all the projects into one tree in the repository and use the module definition to check out different groups, however when you have 100+ files in a group it gets tedious to define and maintain the module definitions, and seems apt to cause many problems. The only other idea I could come up with was to have separate trees for each project in the repository and use install and uninstall scripts to create and destory links in the application directory, but the application has the annoying tendency to break links when it modifies a file making this less than ideal. I'd appreciate any insights on possible design solutions that others have found to work. Martyn _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ___ 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: how to really remove the information of the file?
Just to clarify what Erik was saying you must remove the RCS file in the repository (in addition to the file in your working directory) in order to erase cvs's memory of that file. When you use cvs remove the RCS file is moved to a subdirectory of its original location named Attic so you should look for it there. -Mark - Original Message - From: Erik Andersson [EMAIL PROTECTED] To: David [EMAIL PROTECTED]; Info-Cvs [EMAIL PROTECTED] Sent: Thursday, August 07, 2003 7:49 AM Subject: RE: how to really remove the information of the file? When you remove a file from the repository you actually mark it as dead, and it stays in the repository.. Therefore the upcount in revision numbers. I think the way to permanently delete a file is to to it hard and without using cvs-commands (in Unix use rm) That is if you are clear with that the file and all previous revisions will forever be gone. You also have to have access to removing files from the cvsroot. Hope this information is correct ;-) Regards / Erik Andersson -Original Message- From: David [mailto:[EMAIL PROTECTED] Sent: den 7 augusti 2003 11:56 To: Info-Cvs Subject: how to really remove the information of the file? Dear members, When I remove a file from the repository, the file doesn't exist any more, but, If I want to add a file with the same name, the revision number is not 1.1, it takes in to account that this file was previously removed, so the revsion number is 1.2. Is there any way to avoid this behavour? Thanks in advance, David _ David Leal Valmaña Tel 91 210 33 00 ext. 71 923 Fax 91 597 05 62 e-mail mailto:[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.soluziona.es/ Soluziona, http://www.unionfenosa.es/ Grupo Unión Fenosa Calle Pedro Texeira 8 2da Planta. Madrid 28020 ___ 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: file changed in cvs-1.11.5 on win2k
Gu, I believe these are all binary files. You should have added them to cvs with cvs add -kb so that keyword expansion was turned off and the file was recognized as binary. By default cvs assumes file are text and attempts to expand keywords such as $Author$, $Revision$, etc. It also assumes files can be stored in the repository using RCS format which includes the current version plus all of the deltas in the same file. You can fix this by running the admin command against a correct version of the files (i.e. cvs admin -kb foo.pdb) or by removing them and adding them again using (rm foo.pdb, cvs remove foo.pdb, then cvs add -kb foo.pdb). -Mark - Original Message - From: Gu Shaodong [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 04, 2003 9:14 PM Subject: file changed in cvs-1.11.5 on win2k Hi, guys: I'm not sure whether my question has been asked for many times or not. If so, please tell me where I can find the solution. Thanks. I got a problem when using cvs-1.11.5 on win2k sp4. After importing a vc6 workspace including several projects into cvs, some file changed when I check out this tree later. changed file: some .pdb, .ico, .bmp (maybe some other files I didn't find out) Any help or advice ? TIA -gusd ___ 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: checkout
Since the files you are checking out are read-only the cvs administrator has probably turned on the watch/edit feature. You should use the cvs edit command on files that you want to edit (i.e. cvs edit dummy.c). This will notify the cvs server that you are editing the file and should change the file attributes so that it is writable. It is not strictly necessary to use the edit command. You could just use chmod to change the file permissions and then edit the file. Either way the commit is what causes the changes to be reflected in the repository. However, you should use cvs edit if that is enabled. -Mark - Original Message - From: Y Hu [EMAIL PROTECTED] To: Mark Priest [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, August 01, 2003 12:30 AM Subject: Re: checkout Thanks Mark. The file dummy.c is really in the server depository (it is not a real file name, just for example here). I know cvs co module works, it checks out the whole directory. Now, the real question is how do you check out a file for editing? I thought cvs co dummy.c changes a read-only file dummy.c to a read-write file in my local directory, so that I can edit the dummy.c in my local directory. If I use cvs update dummy.c, it won't change the read-only attribute. What is the GNU cvs command to check out a file for editing? Thank you. yh --- Mark Priest [EMAIL PROTECTED] wrote: When you use the checkout command you are requesting to check out a module from the repository and create a working directory. Unless you actually have a module called dummy.c, which would be a poor name for a directory, then this command should have always failed. If you are using update and status then you must already have a working directory in which case you probably don't want to use checkout since it might cause you to lose changes in your working directory. If you want to use checkout you should be creating a new working directory. In general, the module name for a project is the same as the top-level directory for that project under the cvs repository root directory. If you have access to the repository machine check to see what the top-level directory is that contains dummy.c and use that with the checkout command. -Mark - Original Message - From: Y Hu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 31, 2003 10:59 PM Subject: Re: checkout Hi, I've been using GNU CVS for a while on and off. In my last project, I used the the cvs command such as cvs co dummy.c for editing the file. Now, in my new project, the cvs co dummy.c gave me an error cvs server: cannot find module `dummy.c' - ignored, cvs [checkout aborted]: cannot expand modules despite that cvs update dummy.c, cvs status dummy.c all works. Can anyone help me what I am missing here for cvs co command and how can I fix it? Thank you. yh __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: checkout
When you use the checkout command you are requesting to check out a module from the repository and create a working directory. Unless you actually have a module called dummy.c, which would be a poor name for a directory, then this command should have always failed. If you are using update and status then you must already have a working directory in which case you probably don't want to use checkout since it might cause you to lose changes in your working directory. If you want to use checkout you should be creating a new working directory. In general, the module name for a project is the same as the top-level directory for that project under the cvs repository root directory. If you have access to the repository machine check to see what the top-level directory is that contains dummy.c and use that with the checkout command. -Mark - Original Message - From: Y Hu [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 31, 2003 10:59 PM Subject: Re: checkout Hi, I've been using GNU CVS for a while on and off. In my last project, I used the the cvs command such as cvs co dummy.c for editing the file. Now, in my new project, the cvs co dummy.c gave me an error cvs server: cannot find module `dummy.c' - ignored, cvs [checkout aborted]: cannot expand modules despite that cvs update dummy.c, cvs status dummy.c all works. Can anyone help me what I am missing here for cvs co command and how can I fix it? Thank you. yh __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ 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: Being able to import changes from one branch to an other
Damien, The usual way of applying changes from one branch to another is to use the cvs merge facility. I would recommend using a merge to push the changes to the other branch after you commit. Otherwise you are likely to have a mess when you do get around to merging the changes later since you will be subverting cvs in a sense. You can use ExamDiff to generate unix-style diff files. ExamDiff is a freeware tool that can plug into WinCVS and is available at http://www.prestosoft.com/ps.asp?page=edp_examdiff. -Mark - Original Message - From: Damien Castelltort [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 10:24 AM Subject: Being able to import changes from one branch to an other Hi, I'm working on a specific branch, before committing i would like to create a diff file of all the changes I made, so i can apply those changes on the other branch. As far as I remember there is a utility called diffutil that does the trick ? where can I find it ? i need to under Win32 system, anyone can help ? Thks Castelltort Damien Technical Lead / Lead Tools Programmer Quantic Dream http://www.quanticdream.com ___ 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: Being able to import changes from one branch to an other
Damien, The usual way of applying changes from one branch to another is to use the cvs merge facility. I would recommend using a merge to push the changes to the other branch after you commit. Otherwise you are likely to have a mess when you do get around to merging the changes later since you will be subverting cvs in a sense. You can use ExamDiff to generate unix-style diff files. ExamDiff is a freeware tool that can plug into WinCVS and is available at http://www.prestosoft.com/ps.asp?page=edp_examdiff. -Mark - Original Message - From: Damien Castelltort [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 10:24 AM Subject: Being able to import changes from one branch to an other Hi, I'm working on a specific branch, before committing i would like to create a diff file of all the changes I made, so i can apply those changes on the other branch. As far as I remember there is a utility called diffutil that does the trick ? where can I find it ? i need to under Win32 system, anyone can help ? Thks Castelltort Damien Technical Lead / Lead Tools Programmer Quantic Dream http://www.quanticdream.com ___ 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: OT-ish: Windows Question
Jesse, I have just started tracking a VB.NET /ASP.NET application in cvs and I had the same decision to make. I excluded the following files from cvs control: Web.config (this contains specific config info like DB access that differs for each developer) *.webinfo (this stores the IIS URL associated with the project which is also different for each developer) *.sln *.suo *.pdb I excluded the above three types of files because they are derivable from all of the other project files. I added all five of these to the repository-wide cvsignore file so that they are automatically ignored for imports and adds. I created a separate repository for the Web.config and *.webinfo files so that each developer could check out a reasonable version of these files and copy them into their development directory when they first checkout a project. I have not used this setup in production yet so I am not sure how well it will work yet. Good luck, Mark - Original Message - From: Jesse Quijano [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 10, 2003 2:23 PM Subject: OT-ish: Windows Question All, I'm a CVS newbie that has always used Visual Source Safe integrated with Visual Studio. So, I've got my remote CVS repository setup and can actually connect to it... no easy feat! I've also setup my directory structure on CVS which I'm sure I'll have questions on later, but so far so good there. What I want to do now is add my files to the proper places in the repository. The question I have is which of the zillion VS generated files should I store to get a build when they're checked out again? I plan to checkin/add *.h, *.c (except dlldata.c and any *_i.c, or *_p.c generated files), *.cpp, *.idl, *.rc, *.dsp, *.dsw, *.def. Does this seem reasonable? Is there anything I'm missing? Thanks, Jesse ___ 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