Re: Search CVS commit for a substring

Todd Denniston <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
sandeepk1611 wrote, On 02/07/2011 05:02 PM:
> Hi,
> 
> I would like to retrieve the commit information ( the names of files
> committed, commit message, date, etc.) with a substring in the commit text.
> For example, if a commit message has the text "Bug #122345", can I use the
> string "122345" in some command like log, etc. and get the list of files
> committed(added, removed, changed) for this commit?
> 
> I would really appreciate any help on this
> 
> Thanks,
> Sandeep


IIRC (because it has been a long time since I used cvs2cl to search this way ...)

cd my/sandbox
cvs2cl -r -t -R 122345  -b --lines-modified --summary \
	--no-hide-branch-additions --show-dead

I think the above line will show pretty much everything.  I normally only use -r -t and sometimes
--summary.


cvs2cl --help #for all the options

http://www.red-bean.com/cvs2cl/

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.