VCS comparison table
Jakub Narebski
jnareb at gmail.com
Sat Oct 21 19:20:08 BST 2006
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
More information about the bazaar
mailing list