How to update base on tag?
Hello all: After I modify a few files, I create a tag for these files, I want to use the tag to update file from CVS and other files don't update. How to do? Thank you. rabbit ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
find files that are not in CVS
Hi All. I'm newbie in CVS and need in your help. Problem is in following. I have a directory which has many files (more than 600). Some files are in CVS and other are not because they ware not added to CVS in time. I want to add new files to CVS but I don't know exactly their names. At current time I can to do command "cvs status" and select files which are not in CVS but list is too big and hard for processing. Can anybody advise me other solution? Thanks. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
etc/xinetd.d/cvspserver file
Hello, When I try to checkout a directory from the repository,I get this error msg - cvs [server aborted]: can't chdir(/home/test): No such file or directory Why does it need a directory under /home? What configuration am I missing in xinetd.d/cvspserver file? Can somebody help me ASAP! Regards Jayashree *** This message is proprietary to Future Software Limited (FSL) and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. FSL accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus. *** ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: find files that are not in CVS
Hi, I think the following can get you what you want: cvs -qn update | grep "^?" | cut -f 2 -d " " Explanation: Instead of using "cvs status" (whose output is not very convenient for processing), you can use "cvs update". The "-n" global option tells CVS not to modify the files (i.e., only "pretend" to update), but only to show what it would do if it were to update the files. The output of "cvs update" tells you which files are added/removed/modified, and which are unknown. By "grep"ing for "?" at the beginning of the line, you filter out all files but those which are not in CVS. Finally, we get the 2nd field, which is the filename, using "cut". If you like, you can simply run "cvs -qn update" and see the output. Hope I've been helpful. Shlomo -Original Message- From: Dmitry Trunikov [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 1:00 PM To: [EMAIL PROTECTED] Subject: find files that are not in CVS Hi All. I'm newbie in CVS and need in your help. Problem is in following. I have a directory which has many files (more than 600). Some files are in CVS and other are not because they ware not added to CVS in time. I want to add new files to CVS but I don't know exactly their names. At current time I can to do command "cvs status" and select files which are not in CVS but list is too big and hard for processing. Can anybody advise me other solution? Thanks. ___ 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: etc/xinetd.d/cvspserver file
Jayashree wrote: > > Hello, > > When I try to checkout a directory from the repository,I get this error > msg - > > cvs [server aborted]: can't chdir(/home/test): No such file or directory > > Why does it need a directory under /home? > What configuration am I missing in xinetd.d/cvspserver file? > Can somebody help me ASAP! > > Regards > Jayashree In my system CVS is working fine. But I donot have cvspserver in xinetd.d. I have the following as art of my /etc/xinetd.conf. service cvspserver { port = 2401 socket_type = stream protocol = tcp wait = no user = root passenv = server = /path/to/CVS/server server_args = --allow-root=/home/cvs -f pserver env = HOME=/path/to/cvsroot log = /var/log/cvslog } This _may_ help. Cheers. Mahantesh. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: find files that are not in CVS
If all the files in the directory are supposed to be in cvs, just run cvs add *. It'll do the right thing. donald On Mon, Jul 15, 2002 at 01:00:13PM +0300, Dmitry Trunikov wrote: > Hi All. > I'm newbie in CVS and need in your help. Problem is in following. I have > a directory which has many files (more than 600). Some files are in CVS > and other are not because they ware not added to CVS in time. I want to > add new files to CVS but I don't know exactly their names. At current > time I can to do command "cvs status" and select files which are not in > CVS but list is too big and hard for processing. Can anybody advise me > other solution? > > Thanks. > > > ___ > 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
branch tags and CVSROOT/modules file
How does cvs handle branch tags on the modules file and/or the CVSROOT directory? If I create a branch tag on my modules file (and or the CVSROOT dir) and then issue "cvs co BRANCH_TAG MODULE_NAME" what is the behavior of cvs? Does it look at BRANCH_TAG first and find the correct flavor of the module file/CVSROOT directory to use? Or does it use the current module/CVSROOT directory? I would hope that first example is the behavior, but I need confirmation or my development team. thanks, JoAnne ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Merging problem
Hi Friends, I am facing following problem in CVS . When I execute update command cvs automatically merges the changes others have commited with my file. I do not want automatic merging, instead I would like that whenver there is difference between 2 files cvs should prompt me and I manually see the difference by windiff and merge it accordingly. Is there a way to do this? Looking forward for a quick reply, Regards,AnamikaDo You Yahoo!? Yahoo! Autos - Get free new car price quotes
Re: How to update base on tag?
George xu writes: > > After I modify a few files, I create a tag for these files, I want to > use the tag to update file from CVS and other files don't update. How to do? Can't be done. You should tag all the files, not just some of them. -Larry Jones I don't want to learn this! It's completely irrelevant to my life! -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: branch tags and CVSROOT/modules file
Applegate, JoAnne writes [using very long lines]: > > If I create a branch tag on my modules file (and or the CVSROOT dir) > and then issue "cvs co BRANCH_TAG MODULE_NAME" what is the behavior of > cvs? Does it look at BRANCH_TAG first and find the correct flavor of > the module file/CVSROOT directory to use? Or does it use the current > module/CVSROOT directory? Unfortunately, it always uses the current modules file. -Larry Jones In a minute, you and I are going to settle this out of doors. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: branch tags and CVSROOT/modules file
Then only work around at this point I can think of is, to create a "branch" project in the modules file that contains the original project listing at branch time. What do you think? -Original Message- From: Larry Jones [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 10:26 AM To: Applegate, JoAnne Cc: [EMAIL PROTECTED] Subject: Re: branch tags and CVSROOT/modules file Applegate, JoAnne writes [using very long lines]: > > If I create a branch tag on my modules file (and or the CVSROOT dir) > and then issue "cvs co BRANCH_TAG MODULE_NAME" what is the behavior of > cvs? Does it look at BRANCH_TAG first and find the correct flavor of > the module file/CVSROOT directory to use? Or does it use the current > module/CVSROOT directory? Unfortunately, it always uses the current modules file. -Larry Jones In a minute, you and I are going to settle this out of doors. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: need help with check_cvs.pl
Donald, Approximately how long does this script take to run on each file? Also, how doesn't it traverse my $CVSROOT directory structure? thanks. -Original Message- From: Donald Sharp [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 3:57 PM To: Larry Jones Cc: Applegate, JoAnne; [EMAIL PROTECTED] Subject: Re: need help with check_cvs.pl I do believe that Larry is correct. If your using my check_cvs.pl script you can set the CVSDEBUGEDIT env variable to 1 and then see which file(s) it's not having fun with. donald On Fri, Jul 12, 2002 at 03:30:49PM -0400, Larry Jones wrote: > Applegate, JoAnne writes: > > > > cvs checkout: cannot find module `locked' - ignored > > cvs checkout: cannot find module `by:' - ignored > > cvs checkout: cannot find module `ghartman' - ignored > > Another thought -- do you perhaps have files in your repository > (accidentally) that have "locked by: ghartman" in their names? > > -Larry Jones > > Oh yeah? You just wait! -- Calvin > > ___ > 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
e-mail notification
Hi What do I need to get e-mail notification when a file in the repository is edited or committed by someone else? What I have done so far is the following: Because many of the users' e-mail username and cvs username differs, I created a users administrative file like the manual said I must in the CVSROOT directory. The contents look as follows: avaswegen:[EMAIL PROTECTED] lwentzel:[EMAIL PROTECTED] The notify file only has the following line: ALL mail %s -s "CVS notification" Then I ran the following command as a test: cvs watch add -a all Anette_test.txt One of the other users edited and committed the file, but I did not receive any notification. What am I missing? Thank you so much!! Anette ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: need help with check_cvs.pl
I've run your script and identified a corrupt ,v file. It appears to have a corrupted delta number (ran rlog). Any ideas how to fix this or where to find information on fixing this? -Original Message- From: Donald Sharp [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 11:18 AM To: Applegate, JoAnne Cc: Larry Jones; [EMAIL PROTECTED] Subject: Re: need help with check_cvs.pl On Mon, Jul 15, 2002 at 10:40:51AM -0400, Applegate, JoAnne wrote: > Donald, > > Approximately how long does this script take to run on each file? Dunno. It's gonna take a lot longer if you have a lot of branches, as that branches introduce much complexity into the version tree and you have to do more checking of individual versions. > Also, how doesn't it traverse my $CVSROOT directory structure? I've put in a list of files that the script should ignore. I probably should move the @ignore_files list out and allow you to specify more files to ignore... donald > > thanks. > > > -Original Message- > From: Donald Sharp [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 12, 2002 3:57 PM > To: Larry Jones > Cc: Applegate, JoAnne; [EMAIL PROTECTED] > Subject: Re: need help with check_cvs.pl > > > I do believe that Larry is correct. If your using my check_cvs.pl > script you can set the CVSDEBUGEDIT env variable to 1 > and then see which file(s) it's not having fun with. > > donald > On Fri, Jul 12, 2002 at 03:30:49PM -0400, Larry Jones wrote: > > Applegate, JoAnne writes: > > > > > > cvs checkout: cannot find module `locked' - ignored > > > cvs checkout: cannot find module `by:' - ignored > > > cvs checkout: cannot find module `ghartman' - ignored > > > > Another thought -- do you perhaps have files in your repository > > (accidentally) that have "locked by: ghartman" in their names? > > > > -Larry Jones > > > > Oh yeah? You just wait! -- Calvin > > > > ___ > > 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: need help with check_cvs.pl
I've never been terribly successfull at reconstructing ,v files by hand. Especially if actual data is missing. The only good way that I have found is to go to backups of the repository prior to where the ,v file gets corrupted and restore from there. This is painfull for a number of different reasons. I'm sure other people out there have been successfull and might have different/better approaches. One of the main reasons that I wrote this script was to allow me to proactively monitor a repository. If I ran the script once a week I hopefully would know within a fairly short period of time that something has gone terribly wrong. Retrieving from backup of a week ago is pretty easy where I work. Retrieving from backup on a arbitrary time( that might have been years ago ) is a nightmare. donald On Mon, Jul 15, 2002 at 01:23:39PM -0400, Applegate, JoAnne wrote: > I've run your script and identified a corrupt ,v file. It appears to have a >corrupted delta number (ran rlog). Any ideas how to fix this or where to find >information on fixing this? > > > -Original Message- > From: Donald Sharp [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 11:18 AM > To: Applegate, JoAnne > Cc: Larry Jones; [EMAIL PROTECTED] > Subject: Re: need help with check_cvs.pl > > > On Mon, Jul 15, 2002 at 10:40:51AM -0400, Applegate, JoAnne wrote: > > Donald, > > > > Approximately how long does this script take to run on each file? > > Dunno. It's gonna take a lot longer if you have a lot of branches, > as that branches introduce much complexity into the version tree and > you have to do more checking of individual versions. > > > > Also, how doesn't it traverse my $CVSROOT directory structure? > > I've put in a list of files that the script should ignore. > I probably should move the @ignore_files list out and allow > you to specify more files to ignore... > > donald > > > > thanks. > > > > > > -Original Message- > > From: Donald Sharp [mailto:[EMAIL PROTECTED]] > > Sent: Friday, July 12, 2002 3:57 PM > > To: Larry Jones > > Cc: Applegate, JoAnne; [EMAIL PROTECTED] > > Subject: Re: need help with check_cvs.pl > > > > > > I do believe that Larry is correct. If your using my check_cvs.pl > > script you can set the CVSDEBUGEDIT env variable to 1 > > and then see which file(s) it's not having fun with. > > > > donald > > On Fri, Jul 12, 2002 at 03:30:49PM -0400, Larry Jones wrote: > > > Applegate, JoAnne writes: > > > > > > > > cvs checkout: cannot find module `locked' - ignored > > > > cvs checkout: cannot find module `by:' - ignored > > > > cvs checkout: cannot find module `ghartman' - ignored > > > > > > Another thought -- do you perhaps have files in your repository > > > (accidentally) that have "locked by: ghartman" in their names? > > > > > > -Larry Jones > > > > > > Oh yeah? You just wait! -- Calvin > > > > > > ___ > > > 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: e-mail notification
On Mon, 15 Jul 2002, Anette van der Schyf wrote: > What do I need to get e-mail notification when a file in the repository is > edited or committed by someone else? What I have done so far is the > following: > > Because many of the users' e-mail username and cvs username differs, I > created a users administrative file like the manual said I must in the > CVSROOT directory. The > contents look as follows: > > avaswegen:[EMAIL PROTECTED] > lwentzel:[EMAIL PROTECTED] > > The notify file only has the following line: > > ALL mail %s -s "CVS notification" > > Then I ran the following command as a test: > > cvs watch add -a all Anette_test.txt > > One of the other users edited and committed the file, but I did not receive > any notification. > > What am I missing? You haven't said what flavor of cvs you and your users are running, or on what platform it runs. Also, are you running with a server or just with a shared repository? If I read it correctly, the line: ALL mail %s -s "CVS notification" says that for all modules, find an executable called 'mail' and run it with some arguments. If you're using cvs under Windows, for instance, there may be no executable called 'mail'. An alternative we've used is to write a little script named 'mail' that contacts our department's mail server to send out the notification (but our users have to remember to put this mail script in the right place when they set up their build environment (and we run with just a shared repository and no server)). Other folks can probably tell you how to do it with a server. cheers, -david ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
FW: e-mail notification
On Mon, 15 Jul 2002, Anette van der Schyf wrote: > What do I need to get e-mail notification when a file in the repository is > edited or committed by someone else? May I humbly suggest that you get and read about my activitymail script? Here's where you'll find it. http://www.cpan.org/authors/id/D/DW/DWHEELER/activitymail/ Regards, David -- David Wheeler AIM: dwTheory [EMAIL PROTECTED] ICQ: 15726394 http://david.wheeler.net/ Yahoo!: dew7e Jabber: [EMAIL PROTECTED] ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS/ working copy not created
I have setup a CVS repository in /usr/local/cvsroot on a Linux server. My working directory is my home directory on that same server. When I checkout a project to my working directory, the working files and directories are placed in my working directory but the CVS/ administrative directory tree is not created. I have looked in the manuals, HOWTOs, etc. and have found no indication of this problem or what can solve it. I assume it is a permissions issue but I don't know where to look or what users/groups should have permissions changed. Any hints out there? Alan - /-- |Alan Dayley www.adtron.com |Software Engineer 602-735-0300 x331 |[EMAIL PROTECTED] | |Adtron Corporation |3710 E. University Drive, Suite 5 |Phoenix, AZ 85034 \--- ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Excluding files/directories when using cvs update -d
> I am putting together a build machine for a rather large cvs repository. > Much of the content of our projects is documentation and is not pertinent > to the builds. It does, however, take a long time to download these > irrelevant files, tag them, etc. > > I would like to exclude these files from the builds to optimize build > time, but would still like to keep them on the server. Another > requirement is that I must do a cvs update -d when updating the working > directory on my build machine so that I am sure to download any new > packages, etc from the cvs repository. > > In summary, is there any way to remove directories/files from a working > directory and maintain them on the cvs server, while being able to do a > cvs update -d and not re-downloading them? > > Thanks, > Ben Block > Arrowhead Group ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: find files that are not in CVS
On Mon, Jul 15, 2002 at 09:17:15AM -0400, Donald Sharp wrote: > If all the files in the directory are supposed to be in cvs, just > run cvs add *. It'll do the right thing. It'll print errors (or maybe only warnings) regarding the files that were already in CVS, but you can ignore those. -- | | /\ |-_|/ > Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED] | | / Anyone who swims with the current will reach the big music steamship; whoever swims against the current will perhaps reach the source. - Paul Schneider-Esleben ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS/ working copy not created
On Mon, Jul 15, 2002 at 11:14:42AM -0700, Alan Dayley wrote: > When I checkout a project to my working directory, the working files and > directories are placed in my working directory but the CVS/ administrative > directory tree is not created. What command are you using? What does CVS print in response? -- | | /\ |-_|/ > Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED] | | / Anyone who swims with the current will reach the big music steamship; whoever swims against the current will perhaps reach the source. - Paul Schneider-Esleben ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: WinCVS 1.10 problem Logging in
Larry Jones wrote: > When you check out a directory, CVS remembers the CVSROOT and uses it > for all subsequent operations in that directory. (This makes life much > simpler for those of us who use multiple repositories.) What you need > to do is to edit that saved CVSROOT (in CVS/Root) to have the correct > username. Is this generally safe? Is it possible to delete CVS/* in a directory and do a `cvs update -d [CVSROOT]` to redirect CVSROOT? /|/|ike ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: How to diff a binary file?
Hi Larry, Hmm.. I never tried forcing diff to treat a binary as text.. sounds pretty evil :) I guess you'd want to redirect this to a file right away if there is likely to be one or more non-printable characters. And then, what could one really do with this output? -- Rob On Mon, Jul 15, 2002 at 12:49:48AM -0400, Larry Jones wrote: > George xu writes: > > > > I have a binary file in cvs, How to diff the binary file? > > With "cvs diff". You may have to use -a (or --text) to convince diff to > do more than just tell you they're different, and the result may or may > not be meaningful, depending on what's really in the file. > > -Larry Jones > > Rats. I can't tell my gum from my Silly Putty. -- Calvin > > ___ > 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 diff a binary file?
Well, for instance, not all files that are marked as binary in cvs are really "binary", in the executable sense. My group has our visual studio project (.dsp) and workspace (.dsw) files in cvs marked as binary. Sometimes, if I don't remember offhand what I changed about a project file, I'll force cvs diff to treat the file as text and look for the change (it works in this case because the files are, in fact, text). cheers, -david On Mon, 15 Jul 2002, Rob Helmer wrote: > Hi Larry, > > > Hmm.. I never tried forcing diff to treat a binary as text.. sounds pretty > evil :) > > I guess you'd want to redirect this to a file right away if there is > likely to be one or more non-printable characters. > > And then, what could one really do with this output? > > > > -- > Rob > > > On Mon, Jul 15, 2002 at 12:49:48AM -0400, Larry Jones wrote: > > George xu writes: > > > > > > I have a binary file in cvs, How to diff the binary file? > > > > With "cvs diff". You may have to use -a (or --text) to convince diff to > > do more than just tell you they're different, and the result may or may > > not be meaningful, depending on what's really in the file. > > > > -Larry Jones > > > > Rats. I can't tell my gum from my Silly Putty. -- Calvin > > > > ___ > > 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: WinCVS 1.10 problem Logging in
Your password isn't saved there, nor is the access method. it just tracks the server/directories. You might already have more info stored in your environment variables, if you tend to use just a single single repository all of the time. Obscurity isn't security, so if you choose to make sure that your repository location is not know, you should also know that it WON'T be any safer by trying to hide them. Security is maintained via authentication and access control. Actually, you might be more concerned with the existence of the $HOME/.cvspass file (or whatever it's called), because that actually does store passwords for repositories. I think it only applies to pserver access, where you login to the cvs server to get access. -Chris Mike Ayers wrote > > Larry Jones wrote: > > > When you check out a directory, CVS remembers the CVSROOT and uses it > > for all subsequent operations in that directory. (This makes life much > > simpler for those of us who use multiple repositories.) What you need > > to do is to edit that saved CVSROOT (in CVS/Root) to have the correct > > username. > > Is this generally safe? Is it possible to delete CVS/* in a directory and do >a > `cvs update -d [CVSROOT]` to redirect CVSROOT? > > > /|/|ike > > > ___ > 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: WinCVS 1.10 problem Logging in
Hmmm - I suspect my question was misunderstood, so I shall ask it differently. If I edit the file CVS/Root for a given working directory, are there any other dependencies to be aware of, or is this just like setting the CVSROOT env var, except with a higher priority? Could I delete the CVS directory tree in a given working directory, then `cvs login` to a different (or the same) server to correctly rebuild the CVS directory tree, pointing to the new server? /|/|ike Chris Palmer wrote: > Your password isn't saved there, nor is the access method. > it just tracks the server/directories. You might already > have more info stored in your environment variables, if you > tend to use just a single single repository all of the time. > > Obscurity isn't security, so if you choose to make sure > that your repository location is not know, you should also > know that it WON'T be any safer by trying to hide them. > Security is maintained via authentication and access control. > > Actually, you might be more concerned with the existence of > the $HOME/.cvspass file (or whatever it's called), because > that actually does store passwords for repositories. I think > it only applies to pserver access, where you login to the cvs > server to get access. > > -Chris > > Mike Ayers wrote > >>Larry Jones wrote: >> >> > When you check out a directory, CVS remembers the CVSROOT and uses it >> > for all subsequent operations in that directory. (This makes life much >> > simpler for those of us who use multiple repositories.) What you need >> > to do is to edit that saved CVSROOT (in CVS/Root) to have the correct >> > username. >> >> Is this generally safe? Is it possible to delete CVS/* in a directory and do >a >>`cvs update -d [CVSROOT]` to redirect CVSROOT? >> >> >>/|/|ike >> >> >>___ >>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: WinCVS 1.10 problem Logging in
On Mon, Jul 15, 2002 at 09:13:32PM -0700, Mike Ayers wrote: > If I edit the file CVS/Root for a given working directory, are there any other > dependencies to be aware of, or is this just like setting the CVSROOT env var, > except with a higher priority? Yes to the latter, therefore no to the former. It's safe, and indeed the usual method for dealing with such situations. There might even be a script in contrib to automate it... > Could I delete the CVS directory tree in a given working directory, then `cvs > login` to a different (or the same) server to correctly rebuild the CVS > directory tree, pointing to the new server? NO NO NO! If you're lucky, CVS will just refuse to create the "CVS" subdirectory. If you're unlucky, it'll go ahead and do it. Why "unlucky?" Because it'll get it wrong, and you won't notice till later. The likelihood of CVS getting it right is pretty small (depending on how active your repo is, how up-to-date your sandbox was before you started, etc.) You'll lose all sorts of other state that you really wanted to keep, such as sticky tags/dates, the revision that each file was last synced with (losing this will completely bollix future updates/merges/commits) -- all the stuff that CVS is about in the first place. That state info is stored nowhere else, so if you trash it, CVS can't possibly recreate it. Just edit CVS/Root, either manually or with a script at your preference. -- | | /\ |-_|/ > Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED] | | / Anyone who swims with the current will reach the big music steamship; whoever swims against the current will perhaps reach the source. - Paul Schneider-Esleben ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs