cvs add files recursively – not already in repository

2013-11-12 1 min read Linux
When you have a lot of files in some repository and you have added a couple of new, in CVS there is no command to add just the new ones to the repository, so here is a workaround for that. cvs status 2>/dev/null | awk '{if ($1=="?")print "cvs add -kb " $2}' Well, if you are adding text files then you might want to remove the “-kB” in the cvs command above. Continue reading

viewvc – serve current directory in web interface.

2013-02-18 1 min read Fedora
Here is the description of viewvc: ViewVC is a browser interface for CVS and Subversion version control repositories. It generates templatized HTML to present navigable directory, revision, and change log listings. It can display specific versions of files as well as diffs between those versions. Basically, ViewVC provides the bulk of the report-like functionality you expect out of your version control tool, but much more prettily than the average textual command-line program output. Continue reading

meld – cvs diff with ease

2012-10-17 1 min read Fedora
Visualization of the “history tree” of a revision controlled project, showing branching, merging, tagging, etc. (Photo credit: Wikipedia) There are couple of ways to make life easier with CVS diff. But here is one that is really good. First if you haven’t, install meld: sudo yum install meld meld is basically a diff viewer and pretty good at it 😉 Now open meld from the menu or from the terminal. And then select New. Continue reading

Ignore CVS and svn directories in bash autocompletion.

2012-07-07 1 min read bash Linux
CVS and SVN directories are something that really cause lot of un-necessary nuisance. So, simple solution just ignore them 🙂 export FIGNORE=CVS:~:.o:.svn bind 'set match-hidden-files off' Related articles How to use TortoiseSVN to get files that under a specific version(stackoverflow.com) Quick (and messy) svn merge branch to trunk(hattb.wordpress.com) Acunetix Web Vulnerability Scanner Parses Version Control Systems(acunetix.com)