meld – cvs diff with ease

Visualization of the "history tree" ...
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. In the dialog box that appears select “Version Control Browser”. In the Directory box, browse to the folder where you have the code checked out and select ok. And you are all set.

To see the diff with cvs version just double click.

Note: If you are getting issues when you double click, ensure that you do not have any commands for diff in .cvsrc file.

There are other ways of doing this, but thats for some other day.

Enhanced by Zemanta

Ignore CVS and svn directories in bash autocompletion.

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'
Enhanced by Zemanta

kernel source code — the easier way to get it with git.

The simplest way to get the kernel code is :

git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git

If you want to get the other branches then head over to \”Kernel Git Page\”

This will get the Linux kernel tree. As of today , 12 days ago, the tree was tagged to 2.6.31.
Now thats cool, but do you want it to be simpler and do not want to know the git command get to what you want to do that is learn linux kernel then here\’s what you can do :
sudo yum install teamgit
Here is the interface that you will get to add new repo:

\"get_dialog\"

Once you have added the repo, then you can see all the tags and files. Here are the screenshots:
\"teamgit_files\"
\"teamgit_tags\"

Other advanced options are available which are quite easy to use, so enjoy.

gitThis clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git