Latest recipes tagged "cvs"http://code.activestate.com/recipes/tags/cvs/new/2010-10-29T10:48:15-07:00ActiveState Code RecipesPatch/diff file viewer with highlighting (Python) 2010-10-29T10:48:15-07:00Anton Butanaevhttp://code.activestate.com/recipes/users/4175501/http://code.activestate.com/recipes/577436-patchdiff-file-viewer-with-highlighting/ <p style="color: grey"> Python recipe 577436 by <a href="/recipes/users/4175501/">Anton Butanaev</a> (<a href="/recipes/tags/cvs/">cvs</a>, <a href="/recipes/tags/diff/">diff</a>, <a href="/recipes/tags/git/">git</a>, <a href="/recipes/tags/gui/">gui</a>). Revision 4. </p> <p>diff shows difference in files in whole lines. Sometimes those lines are very similar, only one or two words changed. This script compares changed lines by characters and highlights actual differences in them.</p> walk a local CVS directory tree (Python) 2008-07-28T17:34:37-07:00Alain Mellanhttp://code.activestate.com/recipes/users/4065697/http://code.activestate.com/recipes/576378-walk-a-local-cvs-directory-tree/ <p style="color: grey"> Python recipe 576378 by <a href="/recipes/users/4065697/">Alain Mellan</a> (<a href="/recipes/tags/cvs/">cvs</a>, <a href="/recipes/tags/files/">files</a>). Revision 2. </p> <p>There are times were I need to generate a manifest, or perform an export of my current CVS sandbox. cvs export works similarly to cvs co, i.e. extracts directly from a repository. I want to generate a clean export, without all the log files, etc, that tend to pollute my work area. I started using os.path.walk and remove what's not in CVS, but in the end the following code was much simpler (especially after taking a look at the source code for os.path.walk :-)</p>