[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Vijay - two questions on CVS

From: Gagneet Singh
Subject: Re: Vijay - two questions on CVS
Date: Mon, 21 Jul 2003 10:33:24 +0530


| a) How should we delete a complete module form a  
|    respository ? 

You just need to delete the repository module from the server, the server can 
be either a WinNT machine or a Linux / UNIX variant. You do not need to stop 
the XINETD service, but it is always a better practice to stop it. The server 
does not cater to the modules in the repository, only to the repository, hence 
it does not know if there is any change. 
Only the repository knows about changes if the 'modules' file has been 
initialized, either automatically or manually by the Repository Admin. 
Even then, the repository does not complain, but only if a user wishes to 
checkout the deleted module from the client side, he gets a error/warning that 
the module does not exist in the repository.

| b) We ususally access the CVS Server ( on Linux ) from the  
|      Windows 2K prof box by using WinCVS 1.3 or 1.2 

This is actually a better question to put to CVS GUI group.. ;-) address@hidden
Anyway! When working with WinCVS, the user who logs in and checks out a module 
creates a 'CVS' folder in the checked out module. Inside this folder are the 
settings for the user. If you checkup the 'Root' file (opening it in any test 
editor) you will find the complete path to the repository along with the user 
name. Thus, when you have the checked out module selected and 'Login', winCVS 
picks up this name and uses it for further CVS operations. 

WinCVS 1.3b10 onwards there is a feature which comes in the form of a window 
when you 'Login'. 
This is a checkbox in the lower portion of the 'Login Settings tab. This says 
'Force using the CVSROOT (-d)'. If this option is checked and you put the 
desired user name in the General box, the new user can login, without bother 
about the settings in the previous module. 

Or you can select any non-CVS folder on the left hand side of the WinCVS pane 
and login with the username desired. As this won't have any CVS setting, but do 
remember to change the General Settings (in Preferences tab) to the desired 
username first.

Hope I have answered your query. (and please do not go to the extreme of 
re-installing WinCVS every time, as this puts the application in bad light... 


----- Original Message ----- 
From: "Vijay Kumar" <address@hidden>
To: <address@hidden>
Sent: Monday, July 07, 2003 14:46 PM
Subject: Vijay - two questions on CVS

| Hi, 
| I have the following  two questions for which I need  some help : 
| a) How should we delete a complete module form a  
|    respository ? Do we need to stop the cvs server ( xinetd ) 
|   Is it just removed by rm -rf  <dir>. 
|   Upon starting te xinetd or the cvs server , will the server not 
|   realise that there  is some change in the repository and 
|  complain about the same ?  I have been trying to find out 
|  about these things, but have got no answers till now. 
| b) We ususally access the CVS Server ( on Linux ) from the  
|      Windows 2K prof box by using WinCVS 1.3 or 1.2 
|      Once a user logs in via WinCvs, it retains the seting sin the 
|     preferences Tab. Now, if I change the user name from user 
|     "xyz" to user "abc", we can see the change in the 
|     preferances tab, but when we click the login option., we 
|    still see the old user name in the "OutPut" box below and 
|    WinCVS is asking for the password for the old user. 
|    I usually overcome this by 
|    a) Logging in though command line or 
|    b) .cvspass file. - Only sometimes this solves this problem. 
|       not always. 
|   Alternatively I have to reinstall WinCVS on some Windows 
|   box, for the new user to log in. 
|  Why does WinCvs behave like this ? 
| Please Help. 
| Regards,
| Vijay.
| _______________________________________________
| Info-cvs mailing list
| address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]