Email on 'update' and common file 'add'
Hi! Is there any way in which I can send 'cvs update' messages to users of a development team? I am working on a Red Hat 8.0 cvs-1.11.5-perm1 CVS server and the clients are WinCVS 1.3b10. The requirement is that the development team wishes to be informed whenever a developer updates his/her files. For commits an email can be generated using the loginfo script, but what about the email when a user updates his local copy with the repository copy. Is there a way for doing this also? Also, when the user does a 'cvs add' is there a way of knowing whether the user has not added a file which might be already existing in the repository in another module. Thanx Gagneet ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Restricting users from creating a new repository.
Gagneet Singh wrote: Hi! Would anybody know of a way to restrict users on the CVS server from creating a repository via the client? You have to patch the sources. I have included a patch for the SuSE-8.1-version. Hope it helps. Regards, Stephan cvs-1.11.1p1-217.dif Description: Binary data ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Special Character files
I have a strange problem in Server I have some folders with Trademark TM appended to them As it is a special character SUSE Linux is not able to recognize this character SO I am anot able to go into the directory using my telnet sessions and not able to rename this from telnet session Please suggest how should I solve the problem So that I could read special character files from my Server(Linux box) regards, Amit ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Special Character files
Amit Sharma (SCM) wrote: I have a strange problem in Server I have some folders with Trademark TM appended to them As it is a special character SUSE Linux is not able to recognize this character SO I am anot able to go into the directory using my telnet sessions and not able to rename this from telnet session Please suggest how should I solve the problem So that I could read special character files from my Server(Linux box) Try to use a wildcard in the name, e.g. if the dirname is anameT (where T is the trademark symbol), try something like cd aname? so the shell may expand it to anameT. Check with ls aname? or better ls -d aname? if it is a directory, if you really only match the one you want. If you get multiple matches with other files with a sound name, you may move them out of the way temporary by renaming them. Hope that helps, Harald -- iXpoint Informationssysteme GmbH # Rheinstraße 79a # Harald Kucharek 76275 Ettlingen # [EMAIL PROTECTED] Tel/Fax +49 7243 3775-0/77# www.ixpoint.de ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS-question
I am sorry if this is a newbie question and easy to answer, but I don't get it.. I need help and I hope you can help me out. I have done a cvs co -r revision number modulenname of one of our modules. Since that revision new files have been created and I need to make a build of the files from the first checkout only some of the new files. I then do a cvs co filename and get following error message: cvs checkout: warning: new-born filename has disappeared Why is this and is this approach wrong? Is there another way that you are supposed to do this? Am I not thinking right? I am running on HP-UX 11 and cvs -version results in following: cvs -version Concurrent Versions System (CVS) 1.11.2 (client/server) Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn, Jeff Polk, and other authors CVS may be copied only under the terms of the GNU General Public License, a copy of which can be found with the CVS distribution kit. Specify the --help option for further information about CVS Please help me. Best Regards / Erik Andersson ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Help Required
I have tried the same but got the following message from the Server cvs: commit.c:2055: checkaddfile: Assertion `*rcsnode == ((void *)0)' failed. cvs [server aborted]: received abort signal Regads, Amit -Original Message- From: Rob Helmer [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 12:45 PM To: [EMAIL PROTECTED] Subject: Re: Help Required On Wed, Mar 05, 2003 at 12:16:51PM +0530, Amit Sharma (SCM) wrote: Hi All, I have wrongly checked in one file with name ABC.TXT and want to rename the file to abc.txt (All in small letters) Please suggest how should i go about it I do not have the access to the Server so that I can rename the file on the Server using telnet session Server: SUSE LINUX Enterprise Edition 7.0 Client :Wincvs1.2 Hello, You should never manipulate the repository directly. Here is how to rename a file so that history is preserved ( in your CVS checkout ) : mv ABC.txt abc.txt cvs rm ABC.txt cvs add abc.txt cvs commit -m renamed ABC.txt to abc.txt ABC.txt abc.txt This way, anyone looking at the history for this file will clearly see that it was renamed, and can look at the ABC.txt in the Attic if they need to. If you do the rename directly in the repository, the information on when, why and by who it was renamed is lost. HTH, Rob Helmer ___ 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
Repository failover
I'm looking for gotchas and best practices in implementing a failover repository for CVS. The idea would be to use rsync or something similar to copy the contents of a repository to a failover server with the cvspserver entry disabled in /etc/xinetd.d (RedHat 7.3 servers). In the case of failure of the primary server, the cvspserver entry would be enabled on the failover server to allow access to the copy of the repository. Obviously, this would not prevent local clients on the failover server from potentially modifying the copy but such changes would be overwritten on a subsequent rsync anyway. Does this sound reasonable? Any potential problems? Mark Chojnacki [EMAIL PROTECTED] --- ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS-question
Erik Andersson writes: I have done a cvs co -r revision number modulenname of one of our modules. Since that revision new files have been created and I need to make a build of the files from the first checkout only some of the new files. I then do a cvs co filename and get following error message: cvs checkout: warning: new-born filename has disappeared Try cvs up -rHEAD filename instead. -Larry Jones TIME?! I just finished the first problem! -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Email on 'update' and common file 'add'
Gagneet Singh writes: Is there any way in which I can send 'cvs update' messages to users of a development team? Why would you want to do that? I can't imagine why one developer would care about another developer updating a working directory. -Larry Jones The problem with the future is that it keeps turning into the present. -- Hobbes ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Locking mechanism in CVS
Amit Sharma (SCM) writes: I have upgraded my cvs to version 1.11.5 and getting lot of lock files in the repository which are not getting released and I have to manually delete the lock file, Is there any bug for lock file mechanism in cvs1.11.5 or am doing something wrong. There are no known locking bugs in 1.11.5. Either CVS is crashing or you have hung server processes that are still running. -Larry Jones I hate it when they look at me that way. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Updating local working directory
Iqbal Shaikh [EMAIL PROTECTED] writes: We have a querry regarding checking out of files, When we checkout files on our local working directory, the files are cheked out with the date on the day that you check out ( but not with the date that the files were actually last edited). A 'cvs log' command reports times in UTC (aka GMT). The timestamp of the file in your local working directory will be in local time which is likely to be different unless you are in the GMT timezone. On most unix boxes, you can make your current shell inherit the UTC timezone to do comparisons with the times reported by the 'cvs log' command. For example: bash$ cvs log -N -r1.12 cvs_2.html RCS file: /cvs/www/www/docs/manual/cvs_2.html,v Working file: cvs_2.html head: 1.12 branch: locks: strict access list: keyword substitution: kv total revisions: 15;selected revisions: 1 description: revision 1.12 date: 2002/12/28 01:25:42; author: dprice; state: Exp; lines: +490 -280 * index.html: Tidy. Update 1.11.2 links to 1.11.3. * cvs*.html: Regenerated. = bash$ ls -l cvs_2.html -rw-r--r-- 1 mdb builder 143757 Dec 27 17:25 cvs_2.html bash$ TZ=GMT ls -l cvs_2.html -rw-r--r-- 1 mdb builder 143757 Dec 28 01:25 cvs_2.html bash$ date Wed Mar 5 09:48:15 PST 2003 bash$ TZ=GMT date Wed Mar 5 17:48:34 GMT 2003 bash$ date -u Wed Mar 5 17:48:38 UTC 2003 bash$ You will notice in the above that when I used the 'TZ=GMT ls ...' command, the time matched that found in the date field of the 'cvs log' command. Is there a way to update your local working directory with the dates that the files were actually modified on. No, the biggest consumer of cvs sources are software developers that use 'make' and 'make' wants to know when you have modified a file in your current sandbox so that it may properly regenerate the objects derived (like .o files and fully linked executables) from the source. For this reason, 'cvs update' will choose to give the current file in the repository the timestamp of the time in which the local file is modified. Enjoy! -- Mark ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Help needed to checkout cvs repository
Hi all, We have a cvs repository named cpq_repository created on a solaris box named gemsmet.med.ge.com. we are getting an error when we checkout this repository onto a folder in another solaris box named gemsdev26.med.ge.com'. From gemsdev26.med.ge.com == pwd /home/selectic/gshekar gemsdev26:selectic (cvs) 443cvs -d :pserver:[EMAIL PROTECTED]:/var/opt/data/cvs/Sales checkout cpq_repository cvs [checkout aborted]: connect to gemsmet.med.ge.com:2401 failed: Connection refused Request you to give your suggestion. Thanks Regards, -Gnana Shekar- TATA Consultancy Services (www.tcs.com) CPQ Program [Application Administrator] Phone:262-548-4989 DialCom :8*320-4989 Pager :262-983-2023 @paging.acswireless.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Help needed to checkout cvs repository
-Original Message- From: Subramani, GnanaShekar (MED, TCS) [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 3:15 PM To: [EMAIL PROTECTED] Subject: Help needed to checkout cvs repository snip gemsdev26:selectic (cvs) 443cvs -d :pserver:[EMAIL PROTECTED]:/var/opt/data/cvs/Sales checkout cpq_repository cvs [checkout aborted]: connect to gemsmet.med.ge.com:2401 failed: Connection refused snip The pserver is probably either not configured, not enabled, or not running on gemsmet.med.ge.com. If the connection is going through a firewall, port 2401 could be blocked. Pserver can be configured as an inetd service that listens on port 2401. --- Kevin R. Bulgrien, Product Engineer Mailto:[EMAIL PROTECTED] Vertex RSI, A TriPoint Global Company http://www.tripointglobal.com/ Controls Structures Division 1915 Harrison RoadTel: 903-295-1480 x288 Longview, TX 75604-5438 Fax: 903-295-1479 ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Help needed to checkout cvs repository
Subramani, GnanaShekar (MED, TCS) writes: We have a cvs repository named cpq_repository created on a solaris box named gemsmet.med.ge.com. we are getting an error when we checkout this repository onto a folder in another solaris box named gemsdev26.med.ge.com'. From gemsdev26.med.ge.com == pwd /home/selectic/gshekar gemsdev26:selectic (cvs) 443cvs -d :pserver:[EMAIL PROTECTED]:/var/opt/data/cvs/Sales checkout cpq_repository cvs [checkout aborted]: connect to gemsmet.med.ge.com:2401 failed: Connection refused Request you to give your suggestion. Please consult http://www.cvshome.org/docs/manual/cvs_21.html#IDX352 -- Mark ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Help needed to checkout cvs repository
Subramani, GnanaShekar (MED, TCS) wrote: From gemsdev26.med.ge.com == pwd /home/selectic/gshekar gemsdev26:selectic (cvs) 443cvs -d :pserver:[EMAIL PROTECTED]:/var/opt/data/cvs/Sales checkout cpq_repository cvs [checkout aborted]: connect to gemsmet.med.ge.com:2401 failed: Connection refused Did this work before? If yes, the port may have been temporarily disabled because of a connection flood. If no, you'll need to make sure the server's [x]inetd.conf is configured to listen on that port. -Matt ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
cvs admin
Idid a cvs admin -U by error and now when i commit, I got all the time: cvs commit:[21:28:54] waiting for root's lock in /var/lib/cvs/myproj cvs commit:[21:28:54] waiting for root's lock in /var/lib/cvs/myproj cvs commit:[21:28:54] waiting for root's lock in /var/lib/cvs/myproj .. any helpM. Derkaouiwho can do, do. Who can't do, teach. Who can't teach, critics.Lèche-vitrine ou lèche-écran ? Yahoo! Magasinage.___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Files missed during cvs import
I have a project that started life as a vendor source snapshot. Unfortunately, one directory of files was missed during the initial import and later added via cvs commit. Subsequent imports of vendor snapshots are not importing newer versions of these files. How can I tell CVS to put the latest versions of these files on the vendor branch and not treat them as locally modified files? If possible, I would like to do this without re-importing the latest vendor snapshot again. -- Steve Madsen [EMAIL PROTECTED] Tadpole Computer, Inc. http://www.tadpole.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
View all tags or branches
I am trying to view all the tags and branches created in one of our CVS modules. Does any one suggest a command for this purpose? Thanks in advance. -Hanman ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Changes since a tag but only the revision and check in comments
If I am using the syntax: cvs log -r rev1::rev2 module And I have added new files that are tagged with rev2 but the files don't exist with the rev1 tag, is it possible to have cvs log show those files with log comments since the first revision of the file? pyl At 04:48 PM 2/28/2003, Larry Jones wrote: Tony Obermeit writes: How can I obtain a list of changes that have occurred since a tag to the latest version, I want to see the revision and check in comments only. You want rlog, not rdiff. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Files missed during cvs import
[ On Wednesday, March 5, 2003 at 14:53:50 (-0800), Steve Madsen wrote: ] Subject: Files missed during cvs import I have a project that started life as a vendor source snapshot. Unfortunately, one directory of files was missed during the initial import and later added via cvs commit. Subsequent imports of vendor snapshots are not importing newer versions of these files. Those added files don't have a vendor branch and thus look to cvs import as if they are locally added files (which in fact they are :-). How can I tell CVS to put the latest versions of these files on the vendor branch and not treat them as locally modified files? You should probably re-build that directory by cleaning it out and starting over. Save the existing ,v files and use those to re-construct the local changes (i.e. you will extract and apply the diffs to each file for each local change re-commit after every iteration, using the original log message). If possible, I would like to do this without re-importing the latest vendor snapshot again. You only have to re-import that one directory, though you should separately cvs import all the vendor releases of that one directory, interleaving each with any re-commits of the local changes (assuming there was more than one import done prior to trying to import this latest vendor release). You could automate the process with a well planned script, but if there are only a few local changes to the missing files then it's probably a lot faster and just as reliable to just to it all by hand and be done with it. It would be safest to make sure there are no active working directories anywhere for this module for the duration of this fix-up work. I.e. get everyone to commit or store privately any pending changes and to release all their working directories for this module and especially for the directory in question. -- Greg A. Woods +1 416 218-0098;[EMAIL PROTECTED]; [EMAIL PROTECTED] Planix, Inc. [EMAIL PROTECTED]; VE3TCP; Secrets of the Weird [EMAIL PROTECTED] ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
update command question
I have files in a CVS repository under the directory "cvsroot/sc/etc". If I run the command "cvs checkout sc/etc" the files get placed in the current directrory, in the *same* directory structure (i.e. "sc/etc/"). How can I place those files in different directory strructure, (e.g "etc"). Thanks ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: View all tags or branches
On Wed, Mar 05, 2003 at 05:00:56PM -0600, Hanman Gajarla wrote: I am trying to view all the tags and branches created in one of our CVS modules. Does any one suggest a command for this purpose? cvs rlog modulename, under the symbolic names: section of each entry. rlog and log accept the option to *not* show tags, but I guess it would be handy in your case to only show tags. You could write a script that ignores everything other than the text between symbolic names: and keyword substitution: ( if any ), and pipe cvs rlog to that, if this is going to be something you do often, and not just a one-time sweep ( in which case you may as well just wade through the output ). Maybe someone else on the list knows of a more elegant solution? :) HTH, Rob Helmer ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Help Required
On Wed, Mar 05, 2003 at 06:40:27PM +0530, Amit Sharma (SCM) wrote: I have tried the same but got the following message from the Server cvs: commit.c:2055: checkaddfile: Assertion `*rcsnode == ((void *)0)' failed. cvs [server aborted]: received abort signal Hmm.. on searching google, all I can find are references to a pretty old CVS bug ( 2 years.. ). Get the admin to make sure their CVS release is up to date. Also, what version of the client are you using? Regads, Amit -Original Message- From: Rob Helmer [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 12:45 PM To: [EMAIL PROTECTED] Subject: Re: Help Required On Wed, Mar 05, 2003 at 12:16:51PM +0530, Amit Sharma (SCM) wrote: Hi All, I have wrongly checked in one file with name ABC.TXT and want to rename the file to abc.txt (All in small letters) Please suggest how should i go about it I do not have the access to the Server so that I can rename the file on the Server using telnet session Server: SUSE LINUX Enterprise Edition 7.0 Client :Wincvs1.2 Hello, You should never manipulate the repository directly. Here is how to rename a file so that history is preserved ( in your CVS checkout ) : mv ABC.txt abc.txt cvs rm ABC.txt cvs add abc.txt cvs commit -m renamed ABC.txt to abc.txt ABC.txt abc.txt This way, anyone looking at the history for this file will clearly see that it was renamed, and can look at the ABC.txt in the Attic if they need to. If you do the rename directly in the repository, the information on when, why and by who it was renamed is lost. HTH, Rob Helmer ___ 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: update command question
On Wed, Mar 05, 2003 at 06:33:35PM -0800, Eric C. Hein wrote: I have files in a CVS repository under the directory cvsroot/sc/etc. If I run the command cvs checkout sc/etc the files get placed in the current directrory, in the *same* directory structure (i.e. sc/etc/). How can I place those files in different directory strructure, (e.g etc). Have you tried the -d option? Look at cvs --help checkout for more info. -- Rob ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Help needed to checkout cvs repository
There can be wrong entry in inetd.conf file for CVS Please verify that cvs is rnning on port 2401 using this command telnet systemIP or name 2401 If it closes itself It means port 2401 is not configured for cvs i.e. there are some wrong entries in inetd.conf or services files in /etc does not have entry for cvs regards, Amit. -Original Message- From: Mark D. Baushke [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 3:08 AM To: GnanaShekar Subramani Cc: [EMAIL PROTECTED] Subject: Re: Help needed to checkout cvs repository Subramani, GnanaShekar (MED, TCS) writes: We have a cvs repository named cpq_repository created on a solaris box named gemsmet.med.ge.com. we are getting an error when we checkout this repository onto a folder in another solaris box named gemsdev26.med.ge.com'. From gemsdev26.med.ge.com == pwd /home/selectic/gshekar gemsdev26:selectic (cvs) 443cvs -d :pserver:[EMAIL PROTECTED]:/var/opt/data/cvs/Sales checkout cpq_repository cvs [checkout aborted]: connect to gemsmet.med.ge.com:2401 failed: Connection refused Request you to give your suggestion. Please consult http://www.cvshome.org/docs/manual/cvs_21.html#IDX352 -- Mark ___ 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 admin
Go to directory /var/lib/cvs/myproj and delete the #cvs.servername.numberfiles manually It will solve the problem Regards, Amit -Original Message-From: Derkaoui [mailto:[EMAIL PROTECTED]Sent: Thursday, March 06, 2003 3:12 AMTo: [EMAIL PROTECTED]Subject: cvs admin Idid a cvs admin -U by error and now when i commit, I got all the time: cvs commit:[21:28:54] waiting for root's lock in /var/lib/cvs/myproj cvs commit:[21:28:54] waiting for root's lock in /var/lib/cvs/myproj cvs commit:[21:28:54] waiting for root's lock in /var/lib/cvs/myproj .. any helpM. Derkaouiwho can do, do. Who can't do, teach. Who can't teach, critics. Lèche-vitrine ou lèche-écran ? Yahoo! Magasinage. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Help required
Hi All, I have one strange problem and need your help to solve. Wrongly I have modifie the date on the Server and users have checked in files to the Server So all files gone to the Server have wrong time stamp Later on I found the problem and corrected the files which have wrong time stamps but in history file under $CVSROOT/CVSROOT/history still have the wrong time stamps in it and it creates problem for some of my other programs where I need to browse the history Please suggest regards, Amit ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
RE: Help Required
CVS Release is up to date cvs Server version 1.11.5 Client Version 1.12 regards, Amit -Original Message- From: Rob Helmer [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2003 10:21 AM To: Amit Sharma (SCM) Cc: [EMAIL PROTECTED] Subject: Re: Help Required On Wed, Mar 05, 2003 at 06:40:27PM +0530, Amit Sharma (SCM) wrote: I have tried the same but got the following message from the Server cvs: commit.c:2055: checkaddfile: Assertion `*rcsnode == ((void *)0)' failed. cvs [server aborted]: received abort signal Hmm.. on searching google, all I can find are references to a pretty old CVS bug ( 2 years.. ). Get the admin to make sure their CVS release is up to date. Also, what version of the client are you using? Regads, Amit -Original Message- From: Rob Helmer [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2003 12:45 PM To: [EMAIL PROTECTED] Subject: Re: Help Required On Wed, Mar 05, 2003 at 12:16:51PM +0530, Amit Sharma (SCM) wrote: Hi All, I have wrongly checked in one file with name ABC.TXT and want to rename the file to abc.txt (All in small letters) Please suggest how should i go about it I do not have the access to the Server so that I can rename the file on the Server using telnet session Server: SUSE LINUX Enterprise Edition 7.0 Client :Wincvs1.2 Hello, You should never manipulate the repository directly. Here is how to rename a file so that history is preserved ( in your CVS checkout ) : mv ABC.txt abc.txt cvs rm ABC.txt cvs add abc.txt cvs commit -m renamed ABC.txt to abc.txt ABC.txt abc.txt This way, anyone looking at the history for this file will clearly see that it was renamed, and can look at the ABC.txt in the Attic if they need to. If you do the rename directly in the repository, the information on when, why and by who it was renamed is lost. HTH, Rob Helmer ___ 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: update command question
Hi You may try with (override option ) checkout -dfoldername_wiseModule_to_checkout Regards Gurpreet S -Original Message-From: Eric C. Hein [mailto:[EMAIL PROTECTED]Sent: Thursday, March 06, 2003 8:04 AMTo: [EMAIL PROTECTED]Subject: update command question I have files in a CVS repository under the directory "cvsroot/sc/etc". If I run the command "cvs checkout sc/etc" the files get placed in the current directrory, in the *same* directory structure (i.e. "sc/etc/"). How can I place those files in different directory strructure, (e.g "etc"). Thanks ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
MFC'ing
Thanks in advanced. Sorry for the crosspost, but I know some of you FreeBSD developers do this all the time. Note the naming scheme ... wink wink. Okay fine, so I couldn't resit the developer like apache cvs tags :) say I have branches: RELENG_1(stable/prod), RELENG_2(release/qa), HEAD(current/devel) branch point tags:RELENG_1_BP, RELENG_2_BP tags: p6_RELENG_1_0_PRE1, p6_RELENG_1_0_PRE2, RELENG_1_0, RELENG_1_1_PRE1 p6_RELENG_1_1, RELENG_2_0 eventually equivalents for RELENG_3 will be created from HEAD and support for RELENG_1 dropped. now say my respository has 4 files file1.pm file2.pm dir2/file3.pm dir1/file4.pm I change the last 3 on HEAD. Now a week later I want to MFC these changes and only these changes from HEAD to RELENG_2 branch. One of the big problems I have here is say that during the previously mentioned week, I change file1.pm and dir/file4.pm. I only want the initial changes MFC'ed as I have not had a burn in period long enough to move the back from the devel branch (HEAD) to our qa branch(RELENG_2). I think I have to add more tags to the tree to do this, but I am not sure. Please don't confuse this with wanting to merge branches into the trunk. That I know how do and it is not what I want. From FreeBSD, theres how we MCF new files. How do we change this to MFC multiples that already exist ? % cd sys/alpha/include % cvs update -rRELENG_4 cvs update: Updating . U clockvar.h U console.h ... % cvs update -kk -Ap smp.h smp.h === Checking out smp.h RCS: /usr/cvs/src/sys/alpha/include/smp.h,v VERS: 1.1 *** % cvs add smp.h cvs add: scheduling file `smp.h' for addition on branch `RELENG_4' cvs add: use 'cvs commit' to add this file permanently % cvs commit -- END -- Philip M. Gollucci [EMAIL PROTECTED] 301.474.9294 301.646.3011 (cell) Science, Discovery, the Universe (UMCP) Webmaster Webship Teacher URL: http://www.sdu.umd.edu eJournalPress Database/PERL Programmer System Admin URL : http://www.ejournalpress.com Resume : http://p6m7g8.net/Resume ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs