info-cvs
[Top][All Lists]
Advanced

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

Re: Regarding the commands of cvs


From: Dennis Jones
Subject: Re: Regarding the commands of cvs
Date: Mon, 30 Jul 2001 09:19:29 -0700

Yes, use: 'cvs up -r'
 
Find out what revision number you want to retrieve, let's say it's 1.5, and do:
 
cvs up -p -r 1.5 filename.ext > filename.ext
 
This command will retrieve revision 1.5 of "filename.ext" from the repository and copy it to the same file.  You must use '-p' in conjunction with redirection ('>') to avoid getting any sticky tags.  Then commit the file.
 
Hope this helps.
 
- Dennis
----- Original Message -----
Sent: Monday, July 30, 2001 4:59 AM
Subject: Regarding the commands of cvs

Hi ,

     I got a problem in getting the previous version of a any file which has been modified and committed to repository.Means I want to get a previous version of a file from repository,if in any case the current version is buggy i want to revert back the changes to previous version from repository.So is there any such command for getting the previous version .

Please Guide me,

With Regards,
Utpal

       


reply via email to

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