From: Jakub Narebski Date: Tue, 30 Jun 2009 12:36:04 GMT Subject: Re: Does CVS has a easy way to compare file with its previous version? Message-ID: In-Reply-To: <1e56aa11-735a-47f7-a273-5b6bf611f528@n11g2000yqb.googlegroups.com> dtletmn writes: > Hi,All, > > I am wondering if cvs has an easy way to compare a file with its > previous version. > > In clearcase,I can use : > cleartool diff -pred file.cc > > how can I acheive it in CVS? > any help would be highly appreciated! In CVS or in Git? In CVS: "cvs diff -r ". In Git: "git diff HEAD^ -- ". Both assume that you want to compare with version from previous commit. -- Jakub Narebski Poland ShadeHawk on #git