RE: Again: multiple vendors
Hi, can advice how to unsubscribe form the mailing list? List-Id: Announcements and discussions for the CVS version control system info-cvs.gnu.org List-Unsubscribe: http://lists.gnu.org/mailman/listinfo/info-cvs, mailto:[EMAIL PROTECTED] List-Archive: http://lists.gnu.org/pipermail/info-cvs List-Post: mailto:info-cvs@gnu.org List-Help: mailto:[EMAIL PROTECTED] List-Subscribe: http://lists.gnu.org/mailman/listinfo/info-cvs, mailto:[EMAIL PROTECTED] bye Fabi ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Info-cvs Digest, Vol 27, Issue 40
Hi all, I am using eclipse cvs repository view for downloading the cvs repository jar files. Could any one pls tell me how the jar files can be downloaded after importing them to the cvs repository. You need to make sure they are of type binary, either when importing or later with the admin command. Once this is fixed you need to check if the files in the repository are ok. As they are probably not you need to commit working versions. After then the checkout should work fine. Please search in the archives, look for binary files, this has come up many times. [EMAIL PROTECTED] wrote: You shouldn't reply to the digest. Either reply to a single posting or if you don't have that at least edit the mail and delete all the unnecessary stuff... When replying, please edit your Subject line so it is more specific than Re: Contents of Info-cvs digest... ... as is written in every mail. Today's Topics: 1. jar files in cvs repository (Rajeev R) 2. RE: jar files in cvs repository (Jesper Vad Kristensen) You already got an answer that told you to make sure that the file type is binary. If you didn't understand this answer (it might be a bit difficult for cvs-newbies) you should ask a more specific question e.g. how to change the file type to binary or whatever. Please read the mails you get. Anyway, look into the manual, there's a whole section (9) about binary files. bye Fabi ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Updating revision number on a branch.
Heh, I think you misunderstood my second message. I meant that we wanted to make the change for cosmetic reasons, not that it WAS a cosmetic change. After reading on how the branches are created, I understand why you don't want to mess with those. However, I don't understand what the problem is with updating the revision numbers on the main trunk. Am I seriously missing something because I see people doing this all the time? :) Or are all these people just treading into dangerous waters? And yes, we know how to use symbolic tags and have been using them, so the issue isn't that we don't know how to do that. This is just a curiosity thing at this point in time. As a general rule, I resist any changes for cosmetic reasons to a non-cosmetic process, tool or data. Another possibility could be to start a new module/repository. Then it's quite clear where the files come from, even if they only have 1.x revisions. Of course that needs some work as well, new checkouts... bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Urgent help needed: recover lots of files from Attic
I've accidentally removed a whole source tree, which contains 500 source code files (plain text only, no binary). I searched the web, and found ways to recover files from Attic one by one, namely: - use cvs admin -o 1.x (deleted file), or - use cvs update -j 1.x -j 1.y (deleted file) both methods I can successfully recover one file. However, the problem is I have 500 files, and they are separated into about 200 folders. Is there a batch way that I can recover all files in one go? If the files are still in the repository, why don't you checkout/update to a time (-D) just before the removing? Like that you should get back all missing files. Add and commit them (or something like that). bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Reverting a concrete revision
A file with 1.1, 1.2, 1.3, 1.4 and 1.5 revisions. Generate 1.6 tah contains code from 1.1, 1.2, 1.4 and 1.5, I mean to NOT include changes made in 1.3 revision Checking out last revision (1.5) and doing cvs update -j 1.3 -j 1.5 that does nothing... Use the same command but change the order of the revisions. Take in changes made from 1.3 to 1.4 cvs up -j1.3 -j1.4 file.c Take out changes made from 1.3 to 1.4 cvs up -j1.4 -j1.3 file.c bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Reverting a concrete revision
It does not work. It does do nothing!. My idea is generate a new revision but deleting changes made in a very old revision... Did you check out the file or update to the newest version? What is the output of cvs when you apply the update command? bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
RE: loosing branch when updating to a tag on the branch
This brings up a question I've had for quite a while: is there a way to close a branch? The only thing I can think of offhand would be to mark the tip of the branch as dead, by using 'cvs remove'. It won't prevent anyone from resurrecting the branch, though. It defeats version control, but can't you remove all versions on the branch and then remove the branch tag itself? That is of course only if the branch was just for some work and the work is now in the trunk. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Re: authorization failed
I run into a strange problem for few days. I can cvs -d :pserver:. login without failure message but a soon as I send any cvs request I get (for example): cvs annotate: Empty password used - try 'cvs login' with a real password cvs [annotate aborted]: authorization failed: server serveur_qnx rejected access to /usr/local/developpement/CVSRoot for user a.bonnefoy No idea, just a wild guess: maybe it's the dot in a.bonnefoy. But as you only had it for a few days it's probably not that. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Undo the update
I resolved the conflicts the while merging the branch in main trunki but was unable to commit. Was getting error of sticky tag. So I run the update -A command. Now I lost all the conflicts I resolved during the conflict Is there any way I can undo this update operation as I didn't take the back up of those resolved files. Look in your sandbox directories, I think cvs does a backup itself and names them something like .#file.version. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: move away ... it is in the way
cvs up cvs update: move away ./32-well Rotor.jpg; it is in the way C 32-well Rotor.jpg del 32-Well Rotor.jpg cvs up cvs update: warning: 32-Well Rotor.jpg was lost U 32-Well Rotor.jpg cvs update: move away ./32-well Rotor.jpg; it is in the way C 32-well Rotor.jpg Looks like you have two files in the repository which just differ in case (well/Well). If you're working (partly) on Windows this of course won't work. If having two files was not intentional you need to remove/rename one. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Creating a CVS environment
However, the issue I have is that we have no access to a Unix Server as we are completely PC based, sharing files on a common group drive, and it is my understanding that you cannot locate a CVS repository on a shared windows server. Is that correct ? This works fine. You only can get issues if you use different OS (or even different versions) on the server/client computers. In order to get around this, I have been thinking of implementing the following environment: RedHat Linux running under VMWare on a Windows XP machine CVS server running upon the virtual Linux machine CVS repository residing upon common group drive configured via Linux Client PC's running WinCVS to access the central repository running on the Virtual Linux machine Don't know if that would work either but sounds overly complicated. If Linux really were a requirement I'd setup a dedicated little box running only Linux. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: ignored 'core' directory
Another thought: Since people or surprised especially on import, wouldn't it be nice to warn the user whenever a file or directory is ignored? This way, the user at least is informed that something went wrong. That already happens, cvs prints a message for each file with description. So it looks like I Whatever/file (that's a capital i in front) if the file is ignored. But of course one needs to examine the output which can be big. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Best method to replace a branch's code
thanks but I need to retain branchA and branchB - just overwrite branchB with code from branchA Checkout branchB, export branchA, copy all A files to B sandbox, commit. (And maybe add/remove files first). bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Global option ignored
I know that the -l was removed from recent versions but I never created or changed a .cvsrc file. Can I prevent this error except by upgrading the cvs tools? Only by not using the global -n and -R flags. They both imply -l but the 1.12.1 client doesn't differentiate between an explicit -l and an implied -l and sends an explicit -l to the server in either case. I updated the client to 1.12.5 and now the warning doesn't show up anymore. cvs server: cannot open /dev/null/.cvsignore: Not a directory Do I need to create a home dir for the user cvs? Any system user you're running as needs a home directory. The home dir of the user (me) did already exist but there seems to have been something wrong with it. After removing and re-adding the user account it worked. As this was only used for cvs no one noticed anything. Funny though that cvs worked except for this warning whereas e.g. sudo fabi never worked. It immediately fell back to the previous user. Thanks for the help. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Global option ignored
Hi I'm quite sure I just read about this recently but I can't find a mail mentioning it again. We just set up a new repository and tried to work with it. Goes fine except some errors I couldn't resolve yet. Server: cvs 1.11.9 Client: cvs 1.12.1 (both Linux) inetd.conf: cvspserver stream tcp nowait root /usr/local/bin/cvs cvs (-f) --allow-root=/home/cvsroot pserver I have checked out a project and when I do update I get this: [EMAIL PROTECTED]:~/cvssources/indel/incointerface$ cvs -n update cvs server: WARNING: global `-l' option ignored. cvs server: cannot open /root/.cvsignore: Permission denied ? Makefile.in ? aclocal.m4 cvs update: cannot open /root/.cvsignore: Permission denied cvs update: Updating . cvs update: Updating docu cvs update: Updating src I know that the -l was removed from recent versions but I never created or changed a .cvsrc file. Can I prevent this error except by upgrading the cvs tools? The .cvsignore error I read up on in the manual and added the initially missing -f switch to inetd.conf. Then the error changed to: cvs server: cannot open /dev/null/.cvsignore: Not a directory Do I need to create a home dir for the user cvs? Thanks bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Bug with entering Log messages using editor other than vi
the cvs would open a gvim editor window. AND at the same time say log message empty or unmodified a)abort c)continue I guess it's about how editors handle files. Some work with the file itself, others make a copy in /tmp and work with this. So the original file is immediately released. And cvs thinks the editor was closed again. Maybe you find a switch in your editor to work with the file instead of a copy. If not you won't be able to use this editor I think. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: message Local access to network share not supported (Use -N to override this error)
I'm having the same problem with my install of Tortoise. Except I don't know where to put the -N flag. The FAQ refers to putting it in a .cvsrc file in my home directory BUT Win2K doesn't allow a file to be named .cvsrc Create any file, go to DOS window and rename it. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS Through Proxy
How can a Windows CVS client like TortoiseCVS configured to access a CVS repository through a proxy server? I don't know if Tortoise uses an external cvs program or builtin routines. If it's an external program you can try to replace it with the one from WinCvs. This has support for proxies. The main cvs does not. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Can't change ascii/binary type of file
A few months ago I mistakenly committed a Crystal Report (*.rpt) file into CVS as an ASCII file. This broke the file, but no one noticed for a while. Recently, I realized my error and tried to correct it by removing the file from CVS, then re-committing it as binary. It appears, however, that CVS remembers the original version of the file was ASCII, and is treating the new version as ASCII, even though I explicitly uploaded it as binary. This is manifest in the fact that the report is still broken. All our other *.rpt files work properly, because we reconfigured CVS to treat these files as binary by default. Is there any way to get CVS to treat this report as binary? Use the admin command to change the type, update your sandbox, copy in the working version and commit it. Look in the manual for the admin command or the mailing list archives for examples. This question has come up a few times. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Deleting from CVS repository
We have Eclipse/WSAD clients accessing our CVS server on AIX. When you delete projects/files from Eclipse, files seem to goto the Attic folder on the actual repository, but projects still remain there after deletion, only get deleted from the local developer's workspace. Do they have to be manually removed from the CVS server? Is there no way to permanently delete projects through a CVS client? Also, when you delete from the filesystem itself, is it preferred to do like a cvs delete command or an OS command like rm -rf will suffice to ensure the project and its associated files have been completely removed? Also, are they any config changes that can be made on the client/server side to enable permanent deletion of projects/files through the cvs client? Can you retreive Attic files through the client? cvs will never delete repo files. Otherwise you couldn't checkout older versions of these files, that's why they are in the attic. You can even retrieve this dead version from a cvs client. If you really want them deleted you have to do it yourself with rm. They are also recorded in the history so you might want to change that too. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Ignore dirs/no-ext-files
Is it possible with .cvsignore/CVSIGNORE/cvswrapper to ignore a directory? Yes, just put the directory name in a .cvsignore file, in the parent directory of the directory you want to ignore. Hmm, should have already known that. I will try this out, thanks. And as other variant: Can I make a rule for files without extension? *. or just * didn't work. Hmmm... I'm not sure how fancy the wildcard recognition is for .cvsignore. I don't think it can handle this. I thought so. But then even Windows still has a problem and can't assign a program to files without extension. Oh, sorry for comparing cvs with Windows :) bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS users from NT domain?
Hi We have a Linux box used a s file server and for cvs with :pserver. But as we have a mostly Windows Network the users are still kept in a NT Domain. Is there a possibility to do the cvs authentification with the NT users? Maybe with Samba? This is already running for the file server. Or can we only put them in a file and keep it in sync by hand? Thanks bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS to VSS
Is there any other way in which i can migrate data from CVS to VSS.Like i want to move data from CVS to VSS as nightly builds. I want to keep both CVS and VSS.I do the everyday work in CVS . But nightly builds i want to move it to VSS .IS there any way i can move data from CVS to VSS. Why moving data from cvs to vss? If you do nightly builds isn't it enough if you just take the data that you have in the end of the day and check that in into vss? And if you don't have all the original data you can first do a cvs export and then a vss merge/commit (with some scripting needed...). bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Case insensitivity ad nauseum
I was investigating case sensitivity, thinking that it was somehow necessary for the support of Windows clients, when it occurred to me that the _only_ value-added feature this provides is that Windows users don't need to specify the case of files and paths correctly in remote commands. We once had the minor problem that somehow files showed up twice (e.g. doing an update). It turned out that the case of the file itself didn't match the entry in the entries file. So cvs once reported the file from the entries file and then again while looking for unknown files. It behaved correctly, it just did the file twice. But that's something the local client needs to handle (I guess) and not the server. So I don't know if this has something to do with your actual work, I just thought I'd mention it. (Actually that was some months ago, I don't know if this is still the case. Can't test now). bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Case insensitivity ad nauseum
We once had the minor problem that somehow files showed up twice (e.g. doing an update). It turned out that the case of the file itself didn't match the entry in the entries file. So cvs once reported the file from the entries file and then again while looking for unknown files. It behaved correctly, it just did the file twice. But that's something the local client needs to handle (I guess) and not the server. So I don't know if this has something to do with your actual work, I just thought I'd mention it. Yes - if you use a poor editor it will not preserve the case of the filenames. FAT32, NTFS both preserve the case, even if it doesn't actually USE the case... It is entirely feasible to leave CVS case sensitive and make a note somewhere that the responsibility of preserving the case is on the user. The strange thing here is that cvs is inconsequent. It should report the file from the entries as missing and recreate it (though not possible on Windows) and further should report an unknown file in the directory. But what it did is really updating the file, so it could make the connection between the different cases partly. Either it's case sensitive or it's not. And that was with a local repository, so no client/server issues. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Merge point confusion.
So I merge A into B, and then commit to B Then when I try to merge B into Home, I _still_ get conflicts - because A's delta is being merged twice? I think? I never did merging branches, but from what I know I'd say you're right. cvs doesn't know that some changes in B came from A and weren't written by hand. If I had to do this I'd update B from (Home+A). Like that you have the A-changes in B too but now Home knows about it. Just treat A and B as if they didn't know about each other. You want to commit, you get conflicts, resolve conflicts, commit. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Procedural ways of using CVS.
I'm interested in how people organise their in-house projects from an administrative point of view with CVS, for example, when they use branching, tagging and how (or if) they use CVS with ant, anthill and how they manage frequent builds and releases (ie, every 30 minutes) There is a brief amount of information in the cvs book (Open source dev with CVS), but I'm looking for websites or peoples own opinons on how they structure their in house development with CVS. There have already been questions (and answers) like this in the mailing list. I don't know the topic anymore but if you browse the archive you may find some good descriptions, sometimes with links to more info. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs export end-of-line translation
Hi As for checking out with different line endings: I haven't tried this but you could use a windows cvs.exe and run it with wine on *ix, that may give you DOS-endings even on *ix. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: using proxy
From what I've read, cvs does not support using a proxy. I found a patch on google but it was pretty old as were all the other messages. Is it still the case that cvs does not support going through a firewall? If cvs does support it, a link to the reference would be very appreciated. I had the same problem. People then told me to use SSH and such, but I didn't want to do that. Then I tried WinCVS which does support proxies. The main cvs is still a single command line exe. So if you work on windows (and don't need the newest cvs stuff) you can get WinCVS and work with the included cvs.exe from there. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Committing on a previously tagged version with WinCVS
I understand that I can't commit a 1.7 version to a 1.8, because 1.8 already exist. I think I should branch and tag before updating to and an older version. But now is not possible. What should I do now to discard the 1.8 version and keep working (and committing) on the tagged version ? The easiest: Copy your modified file somewhere else, update your file to the head (1.8, so lose your changes), copy the content of the saved file in it and commit it as 1.9. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: problems with a unicode file
I am using WinCvs 1.3 . I added to my repository a pdf file with the 'add unicode' option since the system warned me when I tried to use 'add binary'. When I checked it out I couldn't open it because it results corrupted , so I've deleted the file and added it once again forcing WinCvs to use the binary mode. The problem is that the system keeps on adding it as a unicode ( -ku option) making it impossible for me to open that document. To resolve this situation, do I have to physically delete the file from the server? And if so which is the right way to do it (I mean do I have to look in the Attic or whatever...)? I think you can change the type to binary with the admin command. After that you need to commit again a good version of the file. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: ucing commitcheck to test compile code
I have setup a commitcheck.pl file to test comple any perl source which is added to a repository, i would like to do the same with gcc for any c/c++ code. Has anyone already done this, or have a useful commitcheck script. Is there a command which lets you just test a c file for syntax? (For perl im using 'perl -c' which does the test compile). I don't have a script, but I think you can use gcc with the switch that just outputs the preprocessed file. If preprocessing is without errors it should also compile (more or less :). But don't forget that c files also need includes to be compiled (also accessible from the script). And it uses quite some time, especially for many files. I'd say this is not necessary, you may be better off if you automate a checkout/update and build the whole system instead of single files. If you do this like once a day errors shouldn't be too hard to be tracked down. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: mailing list settings....
hi guyz I noticed that when replying to a mail, it will send to the persons/senders mail not to the groups email is this normal settings in this mailing list?? Use Reply to all, then you should have both addresses. Having the senders address as standard reply is good, otherwise mails like error messages will be sent without end from receiver to list to receiver to list... bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Branch Merging
cvs update -j v3_1-patch x.c (x.c was still currently at revision 1.21) The update went fine (I think) file was merged etc. But just to make sure I did a few diffs on the files etc. and noticed that yes it did move my new lines near the bottom of the file but it completely dumped the latest changes from the main trunk (that one line near the top). Is is really supposed to do things this way. It seems that it merged with version 1.21 and then just put that version on the head. I would expect it to merge with 1.21 but then to merge 1.21 with the head to try to get everything up to date. Am I just asking too much? What happens if you tag the new branch (with x.c 1.21.2.1) and merge with this tag instead of the branch tag? bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Filenames with a blank
Running Windows 2000, using CVSNT as server, TurtoiseCVS for clients and having problems when filenames with a blank in it are stored in the repository. How can I solve this problem? 1. Read in the mail archives, this question has come up some times. 2. Don't use spaces :) bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: just when you thought it was safe to get back in the water
Tom Maciejewski: no such user cvs checkout: authorization failed: server box rejected access to /files/fxfo/CVS for user maciejet Is the user now maciejet or Tom Maciejewski? I think you have something mixed up. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: branches off of branches
Likewise.. cvs update -j TEST -j DEV -m means migrate changes from TEST to DEV, and remember the migration. Then, if, inside head: cvs update -j TEST -m this would migrate the TEST changes into head... on a cvs update -j DEV -m it would remember that the DEV changes have already been put into test... etc. etc. You could write scripts that do that with moving and creating new tags. So every time you call the mmerge script it will apply a tag like MERGED_DATE and there is a second tag LAST_MERGE which will be moved to the new position. That way you will have a list of all merge points and also the point of the last merge. Once you have the scripts the call is as easy as cvs update -m. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: testing the new settings
I just tried to create a new repository Is there a way to check if it is really successfully installed and if It is working? You can check if there are the necessary files in repo/CVSROOT. See the manual for what files there should be. If it works you can check by applying a few cvs commands :) But usually if you did cvs init and there was no error then it should work anyway... bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Checking if two versions are the same
[ In any case, I would prefer a simpler solution, in which I dont need to check stderr, and preferrably even not stdout, only the exit status of a command. This is because the algorithm needs to run in several environments. ] Whatever cvs command you run you have to parse the text output. You can't use the exit code as it only tells you if cvs finished the job with errors or not (errors like memory overflow or so). But then the cvs output should be the same on all environments. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Setting up CVS
Indeed, unfortunately I'm the new guy, and it's a small setup, and they've just been throwing stuff together for the past 30 years or so, simply to get it to work in the easiest way possible with the least amount of effort... It started as an accounting firm, and then a computer programmer or two came along... so I'm not to terribly happy with the setup. And I'm just a little intern, s I'm just trying to improve things a bit and only have a slight clue as to what I'm doing really... so I've spent most of my time reading through quite a bit of documentation and just doing research on ways for Source Code Management and other ways to improve security and the overall setup at work... But now my brain hurts and I'm off work, so I'm going to relax for a bit and come back for a bit more research... Thanks for the input. It's greatly appreciated. If possible use a WinNT+ machine as server so you can use cvsNT as service. (or even a linux machine, doesn't have to be powerful :) If not available you need to have a shared drive. cvs can cause problems on that, read in the mailing archives. But as you're Windows only it might work well. Then you need a client, be it the pure command line cvs or some GUI like WinCVS. After setting up the repository (on command line with simple 'cvs init S:\RepoPath' (S like shared drive, RepoPath what you like but preferably without spaces) you can continue with adding/importing/ checkouting :) /committing etc... bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: .cvsignore file being ignored
We should have been happy with running make distclean before running cvs import. (snip) find . -print | xargs rm We use cvs in our IDE for the customers. Upon creation of a project there are already many source files from the (embedded) OS. These files are already precompiled as a convenience for the users as they take much time to compile. Just imagine you'd have to compile first the whole MFC every time you make a new VC project. As the IDE knows all files which are in this project it's not a big problem to call cvs with every filename separately, even for seemingly recursive operations. So I don't have to rely on import or add to ignore some files. But still when I can use them I do. But deleting all the object files just for some big cvs command and then recompile everything again is not an option. I wouldn't have a problem with that, I often do recompile everything. But for the end users it wouldn't take long for them to start complaining about it. (Alexandre Augusto Drummond Barroso:) The only thing they know is to click buttons in a specified order. (snip) But I advise you to use this approach just for this almost extinct specie of end user. Extinct? You wish! We need to deal with them all the time. No, we can't teach them as they don't want to, they just want the software to behave as they expect. And as we rely on them as paying customers we have to try to do it their way. I can understand the objections against cvs add using the ignore list from a technical POV. I also often have to thell the users that this and that is difficult to do or not possible at all. But from the user POV this new behaviour would be more consistent and understandable. Cvs ignores everything in the ignore list, ALWAYS. I also ran into problems when I started to use cvs, I just have learned since then that it's not so. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Moving Repositories
I am in the process of moving a UNIX CVS repository from one company (and country) to another (still UNIX) and would like to avoid problems, yes I am new to CVS. I have read the book by Cederqvist etal, but am still have questions. What exists is /home/sfw/cvsroot/CVSROOT with the *,v files at /home/sfw/cvsroot/project1/source/module_name. where the source directory contains only subdirectories (modules) which have the *,v files. What I want to end up with is /home/source/CVSROOT and the *,v files at /home/source/project1/source/module_name where there will be many projects (project1 is only one of many) and source is the same as before, a list of subdirectories (modules) which contain the *,v files. (1) is this possible; (2) and how do I set up the CVS, i.e. how does it know where the *,v files are? (3) what other pitfalls am I going to encounter? I think you will find other mails with questions (and answers) like that. In short: If you only want to move it (no internal changes) you can just tar it up (to preserve the permission bits) and move it to the new place. Just make sure that all sandboxes have their changes committed. If you want to include your repo into another you can copy the project* dirs and need to manually merge the content of the CVSROOT/* files. There are two versions of the CVSROOT files: the ,v are needed to store the history version, the other files are actually used to work with by cvs itself. Good luck Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Ignore local changes?
Always, and only ever, modify a copy of any file if you don't want CVS to see your changes to it! I can't imagine I'm the only developer that makes local changes to try something out, but wants to be sure those changes do not end up in the repository. Maybe you could setup your system that on every update (at least of this file) it makes a copy of the checked out file. You would then work with the copy and on commit the original file is still intact. And on next update your local changes get overwritten again. That way your changes don't get committed (well, you looe all of them) but you still get updates to the file. If your app expects a special name for this file you need to rename it for cvs (like myfile_template or myfile_original) so the generated copy can have the expected name. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs checkout
I want to checkout a dir avoiding some unwanted sub-dirs. I know that I can omit dirs by tagging the rest of the dirs and doing a checkout as cvs co -r rel1 I have a test dir and I don't tag that dir. When I do a cvs co abc, this test dir should not be checkout. What should I do for this? Can somebody help me! You could also try an entry in the modules file. Make a module that consists of all other dirs around the unwanted sub-dir. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Need help regarding state
thank you Fab for your help, but i have 4 versions from 1.1 to 1.4,it's showing that 1.2 is dead.How to recover version 1.2? You can't change the state of 1.2 but you don't need to. If you need the content you can just check out this version even with dead state. cvs checkout -r1.2 file. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Need help regarding state
what's meant by dead state? how one version goes into dead state? Dead means removed from the HEAD (but still available for older versions). So someone made cvs remove file, cvs commit file. how to recover from dead state? Just re-add it. cvs add file, cvs commit file. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: How can I tell CVS to take a directory as the latestVersion of a branch?
I have a version of my project, which changed very much since the last checkout. there were files added, removed and moved, so a normal commit won't work as I expect it to, especially since CVS wont let me add any files to the branch. Why doesn't cvs let you add files? What does it say? Is it really a branch? Can you commit the modified files? bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Checkout -c Problem
Hi I have a problem with the new version 1.11.5 with modules. I could checkout the modules file with chekout -c but that doesn't seem to work anymore. If I replace it with 1.11.1p1 it works again. I don't have the interim releases. cvs.exe -t -d P:\Z_K\Pec3000cvs2 checkout -c - main loop with CVSROOT=:local:P:\Z_K\Pec3000cvs2 cvs.exe [checkout aborted]: failed to open the modules file - Lock_Cleanup() If I use forward slashes it tries to make an rsh connection. The modules file should be ok as it works with the older cvs. Env: NT4 SP6, cvs 1.11.5 precompiled. Thanks Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Commit inconsistency: Up-to-date check did not fail thoughit sho uld have !
Hmm, this is interesting. I have always been (and still am) of the opinion that one should always commit individual files, and never ever do a 'cvs commit' on the top level of a module. Why? Because top level commits usually create poor log messages (same for all files), and because it makes it far too easy to commit files that you have just made temporary modifications to (e.g. changing a make file to compile with debug flags) that you really don't want to commit at all. Oh well, I guess I must be a total idiot then... Well, I also commit single files for the same reasons (even if that makes me an idiot too). But before committing I sure do a test/update if there has anything changed in the repo. So I do the same as cvs ci on whole sandbox, just manually. Like that I never had any problems (well, with committing, don't mention the committed source files :) bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: checkout problem: UNRESOLVED
when i make cvs co -c i get an error message: cvs [checkout aborted]: failed to open the modules file Probably the file is corrupted ? You can rebuild it with cvs init. But I don't know if this works with a corrupted file. But you can try to delete the ,v in the repository and and then make cvs init. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: checkout previous version with only version info
I would like to know if there is a way to checkout a previous version of a file specifying *only* the version information. I know I can checkout previous tagged version, but my previous versions are not tagged. I know I can checkout previous version based on date but I You can use exactly the same command, just use the version number instead of the tag, so cvs co -r 1.5 file bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Discouraging :local:
Well, generically speaking Ethernet's FCS field is a 32-bit CRC of the whole data frame. However if I understand the math correctly that means that only 32-bit or shorter errors (remember Ethernet is serial) can be detected reliabliy and only about 99.955% of error bursts longer than 32 bits can be detected. Ethernet frames containing TCP or UDP IP packets can be large -- up to ~1500 bytes. I think you got that wrong about CRC. It's much better and especially suitable for serial streams. Every bit goes into the calculation and it's close to impossible (don't know %) that you can correct even one wrong bit to get the same result. Similar use is MD5. One could presumably enhance this by encrypting the connection (eg. SSL) so that the encryption system supplies another layer of error detection. Anyone know how much, if any, that improves the result? As far as I followed the discussions here I think that the problem is not the main transport over ethernet but the real (not fully lockable) cvs operation on the server if you access a NFS repository with :local: Only if the server cvs does the operation itself it can lock it and therefore the need for a cvs server protocol. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: unknown compression
I am getting this error while checking out data from Linux CVS Server thru my Windows CVSClient. Can anybody help me to understand the cause for this problem. COMMAND supplied: cvs -z9 -q update test.h (in directory C:\work) ERROR: cvs update: inflate: unknown compression method cvs [update aborted]: reading from server: Input/output error Waiting for ur contribution. For some reason it doesn't know compression. Try if it works without the -z9 option. What cvs program and version are you using? bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVSROOT write permission vulnerability
I'm starting to wonder if removing :local: mode might not be a bad thing. It would make things more awkward on single-computer installations (at home I use it on the Linux box, and pserver on the Macs and Windows box), but it would stop people from doing something natural that turns out to be dangerous. I don't know how serious you are on this one but _I_ sure couldn't work without it. The only thing you could possibly imagine is to disable local mode on network mapped drives. And even then a switch to enable it nonetheless is necessary. But while working on my local drive I don't want to mess with any server stuff. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: a list of changed files
You should be able to get what you want from cvs rlog -S. Unfortunatelly, this seems not to be the clue. There is no such option for rlog in version 1.11.1p1 (which I use). I imagine st. like this: cvs my_cmd -D mydate1 mydate2 mymodule and it should generate a list of files which were changed between mydate1 and mydate2 in mymodule You can do cvs rdiff -s -rMYTAG Module, that will give you the changes since this tag until now and will look like : File VarioSam/VarioSam.cvs changed from revision 1.5 to 1.10 File VarioSam/Applicat/Src/Iologger.cpp changed from revision 1.5 to 1.10 Don't know if this works for two tags/dates either. I use 1.11.1p1 as well. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Empty val-tags file
The root with forward slashes (in all cvs meta data root files as well as environment variable) didn't help either. As cvs finds the repository and just complains about the tag I didn't have much hope on this anyway but I will try everything to get it to work. (Otherwise my customer lynches me :) cvs.exe -t update -rVERSION15 VarioSam/Applicat/Src/Iologger.cpp - main loop with CVSROOT=:local:n:/temp/variosam cvs.exe [update aborted]: no such tag VERSION15 Can you tell me what reasons there could be why it can't find a tag? I don't think it's about line endings as it's all local, so same file system and no network issues. The log command shows the tag and all the other info so the file shouldn't be corrupted. After adding the tag to the val-tags file everything works. That would also mean that the file itself is ok. I don't have the cvs source code. What reasons are there that it can't find the tag if cvs has to look in the file itself? Any special string compares? Case issues? Forbidden chars in tags? Thanks Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Empty val-tags file
Although you switched to forward slashes in the command, you'll not that your root still contains backslashes. Is n: really a local drive, or is it some kind of network share? If it's a network share, then the problem is almost certainly some kind of bug or incompatibility in the network filesystem. If the repository isn't local, you should use client/server CVS to access it, not network shares. No, it may look funny but it's really local, I have C, F, and N as local drives :) The root with forward slashes (in all cvs meta data root files as well as environment variable) didn't help either. As cvs finds the repository and just complains about the tag I didn't have much hope on this anyway but I will try everything to get it to work. (Otherwise my customer lynches me :) cvs.exe -t update -rVERSION15 VarioSam/Applicat/Src/Iologger.cpp - main loop with CVSROOT=:local:n:/temp/variosam cvs.exe [update aborted]: no such tag VERSION15 Thanks for helping. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Empty val-tags file
Hi I've used now cvs for quite a while and never thought I'd run into such a problem. But anyway here it is. We tag our sources from time to time as it should be. But for some reason not all tags go into the val-tags file. In some repositories it's even empty. According to docu this shouldn't matter as cvs will refill it next time a tag is used. Problem is now that I get a no such tag error on some operations if it is not in the val-tags file. And I don't know what to do to get it in. Some operations work (log file, checkout module), some do not (diff, checkout file). But those that work don't update the val-tags file. If I manually add the tag in the val-tags file in the repo then also the other commands work (with exactly the same settings as before). But a different user had the same problems and adding the tag didn't help in his case (assuming he did it right). cvs log file: symbolic names: Version16: 1.10 VERSION15a: 1.9 VERSION15: 1.7 VERSION14: 1.7 VERSION13: 1.5 VERSION12: 1.4 cvs update -rVERSION15 file cvs.exe [update aborted]: no such tag VERSION15 A cvs init didn't help either. Apart from this problem everything else works (with the newest revision). I use cvs 1.11.1p1 on Windows, repo is local or network, no difference. I can't use 1.11.2 because of its problems on Windows and I haven't tried a cvs version. There are no problems with access rights. I'm sorry if this is a simple FAQ or newbie question or if it has been solved in the cvs version, but I couldn't find more info. Thanks Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Empty val-tags file
Problem is now that I get a no such tag error on some operations if it is not in the val-tags file. And I don't know what to do to get it in. Some operations work (log file, checkout module), some do not (diff, checkout file). But those that work don't update the val-tags file. If I manually add the tag in the val-tags file in the repo then also the other commands work (with exactly the same settings as before). But a different user had the same problems and adding the tag didn't help in his case (assuming he did it right). He didn't. To determine if a tag is valid, CVS first checks the val-tags file. If the tag does not appear there, the specified files (NOT the entire repository) are scanned for the tag. If it appears in any of them, it is valid and is added to the val-tags file (unless you've specified the global -n flag). If you're getting no such tag, then the tag really doesn't exist in any of the file you specified for the command (although it may exists in other files that you haven't specified). Commands like log don't require a valid tag -- you get generic log information in any case -- but you *do* get a warning that you perhaps overlooked. I think I did it right and there was *no* warning. But maybe you can help me with this output. Sorry, I'm clueless. cvs.exe log VarioSam\Applicat\Src/Iologger.cpp RCS file: n:\temp\variosam/VarioSam/Applicat/Src/Iologger.cpp,v Working file: VarioSam\Applicat\Src/Iologger.cpp head: 1.10 branch: locks: strict access list: symbolic names: Version16: 1.10 VERSION15a: 1.9 VERSION15: 1.7 VERSION14: 1.7 VERSION13: 1.5 VERSION12: 1.4 ROOT_Version: 1.4 Ver1_1_VM: 1.2 Ver1_1: 1.2 V_1_00: 1.1.1.1 ZuK: 1.1.1 keyword substitution: kv total revisions: 11;selected revisions: 11 description: revision 1.10 date: 2002/12/13 14:01:48; author: VMarquardt; state: Exp; lines: +1 -1 I should enter a message here revision 1.9 date: 2002/12/13 13:57:39; author: VMarquardt; state: Exp; lines: +1 -1 I should enter a message here revision 1.8 date: 2002/12/11 14:43:27; author: VMarquardt; state: Exp; lines: +1 -1 I should enter a message here revision 1.7 date: 2002/12/11 14:20:55; author: VMarquardt; state: Exp; lines: +1 -1 I should enter a message here revision 1.6 date: 2002/12/11 14:09:22; author: VMarquardt; state: Exp; lines: +1 -1 I should enter a message here revision 1.5 date: 2002/12/11 13:18:34; author: VMarquardt; state: Exp; lines: +1 -1 I should enter a message here revision 1.4 date: 2002/12/11 13:17:04; author: VMarquardt; state: Exp; lines: +1 -1 I should enter a message here revision 1.3 date: 2002/12/11 13:09:11; author: VMarquardt; state: Exp; lines: +1 -1 I should enter a message here revision 1.2 date: 2002/12/11 12:57:06; author: VMarquardt; state: Exp; lines: +1 -310 I should enter a message here revision 1.1 date: 2002/09/19 13:43:18; author: FABI; state: Exp; branches: 1.1.1; Initial revision revision 1.1.1.1 date: 2002/09/19 13:43:18; author: FABI; state: Exp; lines: +0 -0 Initial import = cvs.exe update -rVERSION15 VarioSam\Applicat\Src\Iologger.cpp cvs.exe [update aborted]: no such tag VERSION15 Thanks bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Empty val-tags file
cvs.exe update -rVERSION15 VarioSam\Applicat\Src\Iologger.cpp cvs.exe [update aborted]: no such tag VERSION15 Hmmm. Perhaps the backslashes are confusing CVS (you should always use forward slashes with CVS); try using forward slashes and see if that solves the problem. If not, please run the command with tracing enabled (the global -t option) and post the trace. I know that cvs uses forward slashes but it wasn't a problem to use backward so I stuck with that. But it didn't change anything anyway. cvs.exe -t update -rVERSION15 VarioSam/Applicat/Src/Iologger.cpp - main loop with CVSROOT=:local:n:\temp\variosam cvs.exe [update aborted]: no such tag VERSION15 That was all. Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Excluding (ignoring) a folder while importing a project(related to import command)
I am about to import a project into CVS, but I have a data folder inside this porject tree, which holds over 1GB of mp3 files. I apparently do not want to import this data/ folder into the repository. So how can I tell CVS to exlude this data folder while importing it. You can put the folder name data into a file .cvsignore on the same level, then it should be ignored on all future actions. Or, if you don't mind the folder, just the files, you can make a file mask *.mp3 and put it in the environment variable CVSIGNORE. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: last log entry
I'm running CVS 1.11.1p1 (client/server) on HP-UX 11.0. I really need to find a way to get the last log entry for every file. rlog does not seem to be working. What's wrong with this: cvs rlog AsyncEvent.java cvs rlog: cannot find module `AsyncEvent.java' - ignored But the file is in the directory where I ran this command. I can cvs log AsyncEvent.java and get tons of output. I read in a past posting that rlog is an alias for log but I'm not seeing that behavior here. I'm not a cvs guru by far, but what happens if you give the complete path? Like cvs rlog module/path/to/file.java? Seems to work on my place. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: List files of a Tag
on NT first suggestion: install cygwin and do unix method. on NT second suggestion:* reboot to unix do unix method. on NT third suggestion: you might be able to use MS find instead of grep but good luck on redirecting stderr and stdout. *someone being less annoying than me MAY know of a way to do similar things with the NT and windows clients, or other unix toolkits for MS. There are Win32 ports of almost all Unix tools, so you should be able to do the Unix method quite well on Windows too. Maybe without the special redirecting stuff. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: AW: using .cvsrc in client-server setup
Windows 98 does not allow me to name/create a file as .cvsrc I tried naming a file just cvsrc and setting HOMEDRIVE and HOMEPATH.It doesn't work. Can anyone tell me how they accomplished setting global options on windows 98?Any other suggestions? I really really need cvs co -P,update -P and update -d as default options for all users. Let someone create the .cvsrc file on a unix system (or any other system that allows it) for you and then send it to you as email attachment. When saved from the email the file will be created. With Win98 I was able to edit the file after that and save it as .cvsrc, on NT4.0 I had problems because it always tried to rename the file as .cvsrc.txt. I guess that's not an NT problem but one of this editor or registry setting. Just create any suitable file and rename it on the DOS command line, works without a fault (at least on my NT4 but 98 should be even easier). ren cvsrc.txt .cvsrc bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Splitting a respository
So, we have this *huge* respository with in essence two branches in it. How, if at all possible, can I split this into two different CVS repositories while still keeping the history? What about copying the whole repository and then removing again the unneeded stuff (files, revisions - admin -o, history entries)? Removing is maybe easier than reconstructing... bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: cvs commit features
Of course, a user can always use cvs add and cvs remove to add or remove files, but these two options can help him/her make sure they didn't forget to do this for some of the files. This is one of those things that might work really well, but only for certain development models. For instance, I am using a GUI based tool. It likes to create lots of files that may or may not need to be archived. I have experimentally determined that if I archive a certain set of them, then there seems to be no problems. Do I want CVS to pester me about the ones I'm not archiving every time I do a commit in that directory? No way! In my application which takes the output of cvs the user can choose between add, remove and ignore the file. If ignore is selected the name is written into the .cvsignore file so next time cvs won't ask about it again. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Add proxy support to cvs?
Hi At the moment I'm using WinCvs because it's the only way to get over our company proxy. It's not possible with native cvs. But I'd like to work with normal cvs so I can also use it on the Linux box. The guys from WinCvs added proxy support so it's not impossible. Wouldn't that be something for cvs also? There have been quite some questions/requests on this list about this subject. If WinCvs could use cvs, why not in return use something from WinCvs? Just a thought. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Combining modules in top dir
Hi I wondered if it is possible to checkout several modules/directories in one step preserving the dir structure. If I have two mods mod1 and mod2 I can do: cvs co mod1 cvs co mod2 Like this I get the same directory structure. /mod1 /mod2 Then I tried with an ampermod: allmods mod1 mod2 But if I checkout allmods I get /allmods/mod1 /allmods/mod2 Is there a way to prevent allmods? I can only rename it with -d, but not omit. Thanks Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Combining modules in top dir
Like this I get the same directory structure. /mod1 /mod2 Then I tried with an ampermod: allmods mod1 mod2 But if I checkout allmods I get /allmods/mod1 /allmods/mod2 Is there a way to prevent allmods? I can only rename it with -d, but not omit. How about creating an alias module? This will substitute allmods with both mod1 and mod2- I believe getting you what you want: allmods -a mod1 mod2 Hmm... I guess you're right. I was under the impression that with aliases you can only rename single modules but reading the docs again it should be possible as well for more than one. Sorry for bothering. bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Case problem
Hi all I work with cvs 1.11.1p1 on NT4.0 with a local repository. Usually it works quite well. But sometimes it has a problem with filename cases like the following: cvs.exe -q -n update N:\Temp\Pec3kcvs4 U N:\Temp\Pec3kcvs4/OS/Src/CINOSFixed32.cpp U N:\Temp\Pec3kcvs4/Os/Src/CINOSFixed32.cpp cvs.exe update: warning: N:\Temp\Pec3kcvs4/OS/Src/CINOSFixed32.cpp was lost cvs.exe update: warning: N:\Temp\Pec3kcvs4/Os/Src/CINOSFixed32.cpp was lost I found out that this can happen if the name in Entries (here OS) is written with different case than the actual file-/dirname, or maybe the checked in name. I don't know why cvs looks at this file/dir twice, but it does it with different case and doesn't recognize the same filename. No need to tell me that *ix is case sensitive whereas Windoze is not. I believe I once read about a switch to tell cvs to behave case-insensitive... or maybe not :) bye Fabi ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Ignoring (binary) files in update/commit
Hi I've read through the archive and there are quite a lot of postings concerning one or the other aspect but I still have a problem. My first intention was to store the binary project files in the repository as well as the source code. But this only to have a compileable project after a checkout. I don't want the project to get updated as it is changed on every open. This would blow up the repository for nothing. 1. How can I exclude a (local) file from being updated or committed if it is in the repository? Neither -I nor CVSIGNORE helped on this. They only work if a local file is NOT in the repository. (I haven't tried .cvsignore as it is not that easy to create such a file under Windows...) Then I thought I could store them in a second module in the same repository. So I'd have version control without checking it every time as it is in a different module than the source code. I could set it up but had problems in checkout. 2. Can I checkout from different modules/roots into the same directory? When I tried cvs complained as there already were cvs files so it couldn't handle files in the same directory from different modules. After reading the archive about this I decided it wasn't a good idea to store the project files in a repository anyway. I can hold it some place else and copy it to my checked out source files. Works but not very neat. 3. How do the professional cvs projects handle this problem? I mean even cvs itself is organized as cvs project. When I check out the sources are there also project files? Don't they get updated or committed if they change? FYI I'm using the downloaded 1.11.1p1 under WinNT4 on a local repository. Thank you F. Cenedese ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs