need help on CVS diff

Ken Raeburn raeburn at MIT.EDU
Wed Dec 27 11:36:10 EST 2006


On Dec 27, 2006, at 9:21, Vipin Rathor wrote:
> hi all,
>
> Anyone can please tell me that how can I use the cvs commands like 
> (*cvs diff
> -r1.51.4.1 -r1.51.4.2 krb5/src/include/fake-addrinfo.h*), so that i  
> can see
> what exactly is changed as a resolution to any ticket.

If the ticket you're looking at has CVS revision numbers, the old CVS  
repository is still available for the moment (anonymously, and read- 
only) as :pserver:anoncvs at anoncvs.mit.edu:/cvs/krbdev.

We aren't using CVS any more; we've switched to Subversion (http:// 
subversion.tigris.org).  The repository is available from  
anonsvn.mit.edu.  After the conversion to SVN was done, it appears  
that the CVS version numbers are available on the converted versions  
stored in the "cvs2svn:cvs-rev" property:

% svn pl -v -r5814 svn://anonsvn.mit.edu/krb5/trunk/doc/api/krb5.tex
Properties on 'svn://anonsvn.mit.edu/krb5/trunk/doc/api/krb5.tex':
   cvs2svn:cvs-rev : 5.29
   svn:mime-type : text/x-tex
   svn:keywords : Author Date Id Revision
   svn:eol-style : native
%

However, I don't know if there's a way to search for specific CVS  
versions.  And branches (indicated in CVS by having more than two  
numbers in the version) and tagged versions are represented in  
subversion using different paths within the repository (note the "/ 
trunk" part above), so if you wanted to examine old versions of a  
file searching for a specific cvs2svn:cvs-rev property value, you'd  
have multiple pathnames you'd have to examine.

Ken



More information about the krbdev mailing list