info-cvs
[Top][All Lists]
Advanced

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

Re: automation on Wincvs


From: J. Andrew MacDonald
Subject: Re: automation on Wincvs
Date: Tue, 28 Aug 2001 18:53:52 GMT

try changin the third line of the batch file to...

echo yourpasswd | cvs login

> "Li, Jerry" wrote:
> 
> Hi, All:
> 
> We want to automatically get resource files out from cvs repository.
> This automation is controlled by a batch file on a Windows NT as the
> following:
> 
> ***********************************************************************
> 
> rem this is the automate.bat file
> set CVSROOT=:pserver:address@hidden:/home/cvsroot
> cvs login
> cvs co rootmodule
> 
> **********************************************************************
> 
> The above script does not work because "cvs login" waits a password
> response from user.
> 
> Do the following cvs commands accept username and password?
>  cvs login jli mypassword
>  cvs co jli mypassword rootmodule
>  cvs tag jli mypassword rootmodule
> 
> If they donot, could you please tell me a way to automate this process
> using a batch file on Windows NT?
> 
> My CVS environment:
> 
> CVS server version:  1.11.1p1
> CVs server system: cvs server on a redhat 7.1 box.
> 
> CVS client: WinCvs 1.2 on windows NT.
> 
> thanks,
> 
> Jerry

-- 
--------------------C-A-R-I-S----------------------

  J. Andrew MacDonald - Programmer
  CARIS Marine Division
  264 Rookwood Avenue, Fredericton, NB, Canada
  Tel: 1 (506) 458-8533   Fax: 1 (506) 459-3849
  Email: address@hidden

--------------http://www.caris.com-----------------


reply via email to

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