Re: difference between tag and rtag?
Jason Yeung writes: I'm a beginner of CVS and I was wondering what is the difference between tag and rtag? They both assign symbolic tags to a set of files. tag must be used in a working directory. It tags just the files that are present in the working directory and, by default, applies the tag to the revision of the file that is checked out. rtag can be used anywhere, it tags the files in the specified module or repository directory, and by default applies the tag to the latest revision on the trunk. With rtag, if you don't specify a particular revision to tag, you really don't know what revisions you're tagging, so it's not a good thing to do. In general, tag is used to tag things you're working on, rtag is only used to create a branch off of an existing tagged revision without having to check it out. -Larry Jones I'm getting disillusioned with these New Years. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Retrieving deleted file from the Attic
Jason Yeung writes: I was wondering if it's possible to recover a file that is in the Attic directory? When you remove a file (and committed), the file gets copied to the Attic directory. For all purposes, it's removed from the repository. Hardly -- you can still use most CVS commands on the file, you just have to give the file name explicitly since there's no local file: bash-2.02$ ls foo ls: foo: No such file or directory bash-2.02$ cvs status foo === File: no file foo Status: Up-to-date Working revision:No entry for foo Repository revision: 1.3 /tmp/cvstest/test/Attic/foo,v bash-2.02$ cvs log foo RCS file: /tmp/cvstest/test/Attic/foo,v Working file: foo head: 1.3 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 3; selected revisions: 3 description: revision 1.3 date: 2002/11/14 16:06:49; author: scjones; state: dead; lines: +0 -0 . revision 1.2 date: 2002/11/14 16:06:38; author: scjones; state: Exp; lines: +1 -1 . revision 1.1 date: 2002/11/14 16:06:31; author: scjones; state: Exp; . = As explained in the CVS manual, you can resurrect a removed file by undoing the change that removed it: bash-2.02$ cvs up -j1.3 -j1.2 foo U foo bash-2.02$ cvs status foo === File: foo Status: Locally Added Working revision:New file! Repository revision: 1.3 /tmp/cvstest/test/Attic/foo,v Sticky Tag: (none) Sticky Date: (none) Sticky Options: (none) bash-2.02$ cvs ci -m. cvs commit: Examining . Checking in foo; /tmp/cvstest/test/foo,v -- foo new revision: 1.4; previous revision: 1.3 done bash-2.02$ cvs status foo === File: foo Status: Up-to-date Working revision:1.4 Thu Nov 14 16:06:49 2002 Repository revision: 1.4 /tmp/cvstest/test/foo,v Sticky Tag: (none) Sticky Date: (none) Sticky Options: (none) -Larry Jones It's going to be a long year. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: export . but not get CVSROOT directory
Kaz Kylheku writes: Whaaat? You mean export the nonexistent module . (dot) as a way of getting the entire repository? I'm surprised that even works. ;) It's not a non-existent module, it's a directory in the repository. Why are you surprised it works? -Larry Jones I've got an idea for a sit-com called Father Knows Zilch. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Can't build cvs for NT.
I am using Microsoft Visual C++ V 6.0 I am getting the following error. Any help would be appreciated. cl.exe /nologo /ML /W3 /GX /Ob1 /I windows-NT /I lib /I src /I zl ib /D NDEBUG /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /Fp.\WinRel/cvsnt.p ch /YX /Fo.\WinRel/ /c .\lib\valloc.c valloc.c .\lib\valloc.c(10) : fatal error C1083: Cannot open include file: 'getpagesize.h ': No such file or directory NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' Stop. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Reserverd Checkouts
Hi all, we swiched from VSS to CVS (mixed CVS and WinCVS) recently. Though all developers love to use CVS rather than VSS some are missing the ability to make particular reserved checkouts. (Okay... I know about the philosophical dimension this topic issues.) Good. We'll skip that. From the CQ-Manual we've learned about the admin -l option -- but WinCVS tells this command is deprecated. It also means that everybody has to have the ability to use the cvs admin commands, which can do unpleasant and permanent things when misused. I recommend not having them free for everybody to use. The recommended solution is to read up on cvs watch and cvs edit and use those abilities instead. In my experience, notification works just as well as reserved edits, assuming developers you can trust with your code in the first place. So does anybody know how to setup CVS-NT with reserved checkout capabilities or how to apply this mode to a particular module or file (from a client's cvs-system)? Um, if you want a CVSNT answer, you should go to http://www.cvsnt.org. It is possible (although I don't think so) that the CVSNT people have done something closer to what you want. This is the regular CVS mailing list, and I've given you the regular CVS answer. -- Now building a CVS reference site at http://www.thornleyware.com [EMAIL PROTECTED] ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
logging tag history using scripts to create a log file in therepository
Does anyone know of such a script? I wrote a short perl script that opens up a template file and fills in the info passed by CVS when the script is run and then gives control to the user to fill in details of why and for who the build was tagged. The problem is that when I tag a whole directory structure, it creates a log file in every subdirectory also. This may or may not be bad, but the problem is that the user has to duplicate their comments in every version of the tag.log file. I have attached the script and the template that I wrote (be kind - I am not really a programmer:). Note that the TagLog.Template must be in a directory called /home/projects/CVSROOT to work as is. If anyone has a simple way to fix my script, that would be nice, but if you know of a canned script that does the same kind of thing, I would appreciate that too. I don't have to do this it just has to get done. Thanks TagLog.Template Description: Binary data taglog.pl Description: Perl program
Re: Reserverd Checkouts
--- Kaj E. Ozolins [EMAIL PROTECTED] wrote: we swiched from VSS to CVS (mixed CVS and WinCVS) recently. Though all developers love to use CVS rather than VSS some are missing the ability to make particular reserved checkouts. (Okay... I know about the philosophical dimension this topic issues.) Take a look at the advisory locks patch available at SourceForge under project RCVS. Maintainers, wasn't this patch supposed to have been adopted into the standard distribution? What's going on with that? Thanks, Noel __ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: export . but not get CVSROOT directory
Annette Waters writes: Is there a way to be able to export . (cvs export -r blahblah -d blahblah .) and not export the CVSROOT repository? I'm not sure why you'd want to export everything in the repository except for CVSROOT, but you can do that by defining an alias module for the root directory that excludes CVSROOT. For example: top -a !CVSROOT . Unfortunately, excluding directories doesn't work when you use -d, so instead of the above you'd have to do: mkdir xxx cd xxx cvs export -r yyy top -Larry Jones I never get to do anything fun. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
CVS_RSH w/ pserver
We've switched from NFS CVS access to pserver and just realized that setting CVS_RSH to ssh is only meaningful for :ext, not :pserver. Before I dive into SSH, does anyone know a way to encrypt pserver traffic? Thanks, Frank -- Frank Gilmurray Release Engineer Nokia, Inc. phone: (650) 625-2179 313 Fairchild Drive, Blgd. Acell: (650) 867-5017 Mountain View, CA 94043 email: [EMAIL PROTECTED] ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Trouble building CVS on NT, I just need the client
I am using Microsoft Visual C++ V 6.0 I am getting the following error. Any help would be appreciated. cl.exe /nologo /ML /W3 /GX /Ob1 /I windows-NT /I lib /I src /I zl ib /D NDEBUG /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /Fp.\WinRel/cvsnt.p ch /YX /Fo.\WinRel/ /c .\lib\valloc.c valloc.c .\lib\valloc.c(10) : fatal error C1083: Cannot open include file: 'getpagesize.h ': No such file or directory NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' Stop. ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: CVS_RSH w/ pserver
[ On Thursday, November 14, 2002 at 11:00:47 (-0800), Frank Gilmurray wrote: ] Subject: CVS_RSH w/ pserver We've switched from NFS CVS access to pserver and just realized that setting CVS_RSH to ssh is only meaningful for :ext, not :pserver. Before I dive into SSH, does anyone know a way to encrypt pserver traffic? SSH, so just use SSH with :ext: in the first place. -- 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
Re: Retrieving deleted file from the Attic
On Wed, Nov 13, 2002 at 04:59:49PM -0800, Jason Yeung wrote: I was wondering if it's possible to recover a file that is in the Attic directory? cvs update -j1.4 -j1.3 foo.c# 1.4 is the deleted rev.; 1.3 is the one # preceding it. The odd-looking order of the # -j's is intentional, and important. cvs commit -- | | /\ |-_|/ Eric Siegerman, Toronto, Ont.[EMAIL PROTECTED] | | / Just Say No to the faceless cannonfodder stereotype. - http://www.ainurin.net/ (an Orc site) ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Can't build cvs for NT.
MacMunn, Robert writes: .\lib\valloc.c(10) : fatal error C1083: Cannot open include file: 'getpagesize.h ': No such file or directory NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' Stop. Unfortunately, lib/getpagesize.h was accidentally omitted from the distribution. You can download it from: http://ccvs.cvshome.org/source/browse/ccvs/lib/ -Larry Jones When you're as far ahead of the class as I am, it doesn't take much time. -- Calvin ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
Re: Moving to Pserver from .rhosts
This is the second reply that implies that .rhosts is superior to pserver - can someone explain why? I had to make this decision recently and concluded that pserver was the prefered way... [EMAIL PROTECTED] (Greg A. Woods) Sent by: [EMAIL PROTECTED] 12/11/2002 21:56 Please respond to info-cvs To:Mahantesh [EMAIL PROTECTED] cc:[EMAIL PROTECTED] Subject:Re: Moving to Pserver from .rhosts [ On Tuesday, November 12, 2002 at 19:28:49 (+0530), Mahantesh wrote: ] Subject: Moving to Pserver from .rhosts we have working repository running right now. Currently the mode of authentication is .rhosts. We are planning to migrate the mode of authentication to pserver. Also after moving to pserver mode we should be able have all the versions we have right now. Why would you ever even dream of doing that? Why not upgrade to SSH (and ~/.shosts :-) instead? -- 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
Re: Moving to Pserver from .rhosts
[ On Thursday, November 14, 2002 at 08:20:18 (+0100), [EMAIL PROTECTED] wrote: ] Subject: Re: Moving to Pserver from .rhosts This is the second reply that implies that .rhosts is superior to pserver - can someone explain why? Because it's how remote CVS was designed to be used and because it is the only way to make remote CVS access secure. CVS-pserver is not secure in any way whatsoever and cannot be made secure. CVS-pserver is only just barely suitable for read-only anonymous access, and then really only if it's used on a secure private network or if there's some other _secure_ way to verify the integrity of the files retrieved via pserver. I had to make this decision recently and concluded that pserver was the prefered way... What could possibly have lead you to that conclusion? -- 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
How to set the CVS time zone?
Title: How to set the CVS time zone? Hi there, CVS server version:1.11.2 on HP-UX 11i CVS client: Win CVS 1.3.8.1 on Win2K The server and client's time zone are both EAT. But when I use WIN CVS, the time always don't match my local time. The CVS default time zone setting is UT, How can I change it? Best Regards! __ Joe Liu (Liu Shizhou) Software Engineer China Software Solutions Center Hewlett-Packard Company 86-21-28982089 86-21-28982112 (Fax)