Re: Question about CVS-SSH
On Fri, Jun 10, 2005 at 02:23:03PM -0400, Huaer XC wrote: Dear CVS users: I am a newbie in this field. And I am trying to setup CVS on a Linux Mandrake server, and maintain my codes through SSH by different PCs including Win-XP and Linux system. (I followed a instruction on the following link: http://mariner.cs.ucdavis.edu/slackware/doc/applications/cvs-over-ssh.txt) Now I did the following things in my server. 1) I have setup CVSROOT in my account /home/cvs, and a repository named ABC has been imported. Since CVS is a server thing, I prefer to have the repository installed somewhere else than in my home directory. (Typically I choose /local/cvs or something like that.) [...] After I re-login to the remote workstation, and run: cve checkout ABC It return the following error info: cvs [checkout aborted]: Cannot check out files into the repository itself Is your home directory shared between your server and the workstation? The error message seems to indicate to me that you are trying to check out a copy of the repository and placing the checked out copy in the repository itself. Try placing the repository somewhere else, away from your home directory. Asbjørn ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Re: cannot checkout new tag
On Thu, Jun 09, 2005 at 06:14:07PM -0400, Jason Sicotte wrote: One thing that might be helpful is to use CVS with the -t (trace), flag. This causes CVS to be really verbose as to what it is doing, and my help you find out where the holdup is. Thanks. I did that and here is the output: Command is: cvs co -t -r project-xyz-20050611 external src svrcfg - main loop with CVSROOT=:pserver:[EMAIL PROTECTED]:/home/engineering/cvs - Connecting to 192.168.1.1(192.168.1.1):2401 S- do_module (external, Updating, , ) S- do_module (external, Updating, , ) - Create_Admin (external, external, /home/engineering/cvs/external, , , 0, 0) - unlink_file(external/CVS/Tag) - Create_Admin S- Create_Admin (., external, /home/engineering/cvs/external, project-xyz-20050611, , 0, 0) S- Parse_Info (/home/engineering/cvs/CVSROOT/rcsinfo, external, ALL) S- Create_Admin S- Reader_Lock(/home/engineering/cvs/external) S- Lock_Cleanup() S- Reader_Lock(/home/engineering/cvs/external/asr) S- Lock_Cleanup() S- Reader_Lock(/home/engineering/cvs/external/asr/OSR-xx) S- Lock_Cleanup() S- Reader_Lock(/home/engineering/cvs/external/asr/OSR-xx/include) S- Lock_Cleanup() S- Reader_Lock(/home/engineering/cvs/external/asr/OSR-xx/lib) S- Lock_Cleanup() ... Many similar lines clipped. ... S- unlink_file(util/CVS/Entries.Static) S- Reader_Lock(/home/engineering/cvs/external/zlib-1.1.4.win32/util) S- checkout (/home/engineering/cvs/external/zlib-1.1.4.win32/util/minigzip.exe,v, 1.1.1.1, -kb, (function)) S- server_register(minigzip.exe, 1.1.1.1, , -kb, project-xyz-20050611, , ) S- Register(minigzip.exe, 1.1.1.1, , -kb, project-xyz-20050611 ) S- Lock_Cleanup() S- rename(CVS/Entries.Backup,CVS/Entries) S- unlink_file(CVS/Entries.Log) S- rename(CVS/Entries.Backup,CVS/Entries) S- unlink_file(CVS/Entries.Log) S- rename(CVS/Entries.Backup,CVS/Entries) S- unlink_file(CVS/Entries.Log) S- rename(CVS/Entries.Backup,CVS/Entries) S- unlink_file(CVS/Entries.Log) Protocol error: uncounted data discarded - rename(CVS/Entries.Backup,CVS/Entries) - unlink_file(CVS/Entries.Log) - unlink_file_dir(external) - Lock_Cleanup() Stops responding at this point. -- Neil Watson Network Administrator www.voicegenie.com ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
migration of CVS repositery from one machine to another
Hi all, We need to migrate CVS repositery from one HP-UX machine to another HP-UX machine. We are using cvs-1.11.1p1. For that I need to install that version on second machine. Now my queries are: 1. Where can I find the cvs-1.11.1p1 installable(binary) on HP-UX. 2. what are the steps involved in migration of whole data from one machine to another. I dont want any change in the tags and history. thanx in advance regards Ravish ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Re: migration of CVS repositery from one machine to another
ravish agarwal wrote: Hi all, We need to migrate CVS repositery from one HP-UX machine to another HP-UX machine. We are using cvs-1.11.1p1. For that I need to install that version on second machine. Now my queries are: 1. Where can I find the cvs-1.11.1p1 installable(binary) on HP-UX. Note that there have been many security (and other types of) fixes since cvs-1.11.1p1 it would be best to update. If you really don't want to compile CVS yourself, there appear to be hp binaries available on the website[3]. 2. what are the steps involved in migration of whole data from one machine to another. I dont want any change in the tags and history. thanx in advance moving a repo is covered in the manual[1]. basically: 0) get everyone to do a final checkin and then release their sandboxes (mainly prevent confusion later). 1) Back up the repository [2]. 2) take the backup to the other machine. 3) restore from backup. 4) configure the machine to serve cvs. 5) update everyone's CVSROOT values. regards Ravish [1] https://www.cvshome.org/docs/manual/cvs-1.11.20/cvs_2.html#SEC25 [2] https://www.cvshome.org/docs/manual/cvs-1.11.20/cvs_2.html#SEC24 [3] https://ccvs.cvshome.org/servlets/ProjectDocumentList?folderID=87expandFolder=87folderID=80 -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Removing Without Committing
I checked out a sandbox, removed some files then changed my mind. I deleted the sandbox from my file system and did another fresh checkout to undo that remove. There was no commit but there was no re-add either. Remove says it schedules removal so does that mean the repository still thinks there is a pending removal? ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Removing Without Committing
Rod Macpherson writes: Remove says it schedules removal so does that mean the repository still thinks there is a pending removal? Adding and removing only affect your sandbox, they don't affect the repository at all until you commit them. -Larry Jones Fortunately, that was our plan from the start. -- Calvin ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Re: Removing Without Committing
Rod, Information about pending removals (or modifications, for that matter) is not stored in the repository. It is stored in the CVS/Entries file in your sandbox directory. If you completely removed your sandbox then there is no leftover indication that the file is scheduled for removal. You can verify this by using 'cvs status file'. It should report 'Up-to-date' for the file. I'd just do a 'cvs add file' to restore the removed file. Rod Macpherson wrote: I checked out a sandbox, removed some files then changed my mind. I deleted the sandbox from my file system and did another fresh checkout to undo that remove. There was no commit but there was no re-add either. Remove says it schedules removal so does that mean the repository still thinks there is a pending removal? ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs -- Mark E. Hamilton Orion International Technologies, Inc. Sandia National Laboratory, NM. 505-844-7666 ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
RE: Removing Without Committing
Thanks! -Original Message- From: Mark E. Hamilton [mailto:[EMAIL PROTECTED] Sent: Monday, June 13, 2005 12:16 PM To: Rod Macpherson Cc: Info-cvs@gnu.org Subject: Re: Removing Without Committing Rod, Information about pending removals (or modifications, for that matter) is not stored in the repository. It is stored in the CVS/Entries file in your sandbox directory. If you completely removed your sandbox then there is no leftover indication that the file is scheduled for removal. You can verify this by using 'cvs status file'. It should report 'Up-to-date' for the file. I'd just do a 'cvs add file' to restore the removed file. Rod Macpherson wrote: I checked out a sandbox, removed some files then changed my mind. I deleted the sandbox from my file system and did another fresh checkout to undo that remove. There was no commit but there was no re-add either. Remove says it schedules removal so does that mean the repository still thinks there is a pending removal? ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs -- Mark E. Hamilton Orion International Technologies, Inc. Sandia National Laboratory, NM. 505-844-7666 ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
cvs update locked
Hi, I am having trouble updating. I can't even access the CVS directory. Any ideas? [EMAIL PROTECTED] asdf]$ cvs update cvs [update aborted]: cannot remove file CVS/Entries.Static: Permission denied [EMAIL PROTECTED] asdf]$ ls -la CVS total 0 ?- ? ? ? ? ? . ?- ? ? ? ? ? .. ?- ? ? ? ? ? Entries ?- ? ? ? ? ? Repository ?- ? ? ? ? ? Root [EMAIL PROTECTED] asdf]$ ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
Re: migration of CVS repositery from one machine to another
Hi Todd, thanx for the information. But here is still a problem. The setup for cvs-1.11.1p1 is not available on the link you have specified. can you please give any other link where I can find that binary. Also please tell me if I need to do version upgrade which version is the best to install. and will there be any issues related to version upgrade of CVS. regards Ravish On 6/13/05, Todd Denniston [EMAIL PROTECTED] wrote: ravish agarwal wrote: Hi all, We need to migrate CVS repositery from one HP-UX machine to another HP-UX machine. We are using cvs-1.11.1p1. For that I need to install that version on second machine. Now my queries are: 1. Where can I find the cvs-1.11.1p1 installable(binary) on HP-UX. Note that there have been many security (and other types of) fixes since cvs-1.11.1p1 it would be best to update. If you really don't want to compile CVS yourself, there appear to be hp binaries available on the website[3]. 2. what are the steps involved in migration of whole data from one machine to another. I dont want any change in the tags and history. thanx in advance moving a repo is covered in the manual[1]. basically: 0) get everyone to do a final checkin and then release their sandboxes (mainly prevent confusion later). 1) Back up the repository [2]. 2) take the backup to the other machine. 3) restore from backup. 4) configure the machine to serve cvs. 5) update everyone's CVSROOT values. regards Ravish [1] https://www.cvshome.org/docs/manual/cvs-1.11.20/cvs_2.html#SEC25 [2] https://www.cvshome.org/docs/manual/cvs-1.11.20/cvs_2.html#SEC24 [3] https://ccvs.cvshome.org/servlets/ProjectDocumentList?folderID=87expandFolder=87folderID=80 -- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs
passphrase and WinCVS
Dear CVS users: I just have one question on the passphrase and WinCVS. I am now trying to use both WinCVS and Linux ssh to access to the CVS server. When I generate authorized_key with ssh-keygen, shall I setup a passphrase? I didnt find a place that I can input passphrase within WinCVS(version 1.3.20.3 Beta20 Build 3). Thank you so much for your suggestions. Huaer, ___ Info-cvs mailing list Info-cvs@gnu.org http://lists.gnu.org/mailman/listinfo/info-cvs