Re: VCS comparison table
- From
Jakub Narebski <jnareb@gmail.com>
- Date
- Oct 21, 2006, 18:20 UTC
- Message-ID
- <200610212020.08539.jnareb@gmail.com>
- In-Reply-To
- <453A5F6D.7020306@utoronto.ca>
Aaron Bentley wrote:
Show 16 quoted lines
> 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