Vijay - two questions on CVS

2003-07-07 Thread Vijay Kumar
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  . 
  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
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Vijay - two questions on CVS

2003-07-07 Thread Mahantesh
Vijay Kumar wrote:

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  . 

If you really want to remove a module that is correct. Hope you will 
take backup before that.

 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. 

No, you need not stop or restart the server to remove a module. Even if 
you do that the server will not crib
that a module is missing.

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. 

Although  this question is wincvs question, here is the solution:
After you change the username in preferences tab and clicked OK, put 
your highlight on someother folder that you had it before.
Then do admin>>login. It will definitely ask for passwd of new user.

HTH.
Mahantesh.
--


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


Re: Vijay - two questions on CVS

2003-07-07 Thread Vijay Kumar
Thnx a ton for your kind help and time.

Regards,
Vijay.

- Original Message - 
From: "Mahantesh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 07, 2003 3:08 PM
Subject: Re: Vijay - two questions on CVS


> Vijay Kumar wrote:
> 
> >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  . 
> >
> If you really want to remove a module that is correct. Hope you will 
> take backup before that.
> 
> >  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. 
> >
> No, you need not stop or restart the server to remove a module. Even if 
> you do that the server will not crib
> that a module is missing.
> 
> >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. 
> >
> Although  this question is wincvs question, here is the solution:
> After you change the username in preferences tab and clicked OK, put 
> your highlight on someother folder that you had it before.
> Then do admin>>login. It will definitely ask for passwd of new user.
> 
> HTH.
> Mahantesh.
> --
> 
> 
> 
> ___
> 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: Vijay - two questions on CVS

2003-07-20 Thread Gagneet Singh
Hi!

Regarding
| 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.. ;-) [EMAIL PROTECTED]
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... ;-))

Gagneet


- Original Message - 
From: "Vijay Kumar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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  . 
|   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
| [EMAIL PROTECTED]
| http://mail.gnu.org/mailman/listinfo/info-cvs
|


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs