Mercurial > hg
changeset 9213:ee0af2f28794
parentrevspec: change list to a literal block
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Thu, 23 Jul 2009 00:24:34 +0200 |
parents | dfc1d5da98f0 |
children | b1b0c845ba6e |
files | hgext/parentrevspec.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/parentrevspec.py Thu Jul 23 00:24:03 2009 +0200 +++ b/hgext/parentrevspec.py Thu Jul 23 00:24:34 2009 +0200 @@ -10,15 +10,15 @@ This extension allows you to use git-style suffixes to refer to the ancestors of a specific revision. -For example, if you can refer to a revision as "foo", then: +For example, if you can refer to a revision as "foo", then:: -- foo^N = Nth parent of foo + foo^N = Nth parent of foo foo^0 = foo foo^1 = first parent of foo foo^2 = second parent of foo foo^ = foo^1 -- foo~N = Nth first grandparent of foo + foo~N = Nth first grandparent of foo foo~0 = foo foo~1 = foo^1 = foo^ = first parent of foo foo~2 = foo^1^1 = foo^^ = first parent of first parent of foo