From: Jakub Narebski Date: Sat, 21 Oct 2006 18:20:08 GMT Subject: Re: VCS comparison table Message-ID: <200610212020.08539.jnareb@gmail.com> In-Reply-To: <453A5F6D.7020306@utoronto.ca> Aaron Bentley wrote: > Jeff King wrote: >> On Thu, Oct 19, 2006 at 09:06:40PM -0400, Aaron Bentley wrote: >> >>> What's nice is being able see the revno 753 and knowing that "diff -r >>> 752..753" will show the changes it introduced. Checking the revo on a >>> branch mirror and knowing how out-of-date it is. >> >> I was accustomed to doing such things in CVS, but I find the git way >> much more pleasant, since I don't have to do any arithmetic: >> diff d8a60^..d8a60 > >> Does bzr have a similar shorthand for mentioning relative commits? > > Yes, you could e.g. do: > > bzr diff -r before:753..753 What about grandparent of commit (d8a60^^ or d8a60~2 in git), or choosing one of the parents in merge commit (d8a60^2 is second parent of a commit)? before:before:753 ? -- Jakub Narebski Poland