hgext/parentrevspec.py
changeset 9070 1933220e0284
parent 8894 868670dbc237
child 9213 ee0af2f28794
equal deleted inserted replaced
9069:1abf3fdc5db4 9070:1933220e0284
     5 # This software may be used and distributed according to the terms of the
     5 # This software may be used and distributed according to the terms of the
     6 # GNU General Public License version 2, incorporated herein by reference.
     6 # GNU General Public License version 2, incorporated herein by reference.
     7 
     7 
     8 '''interpret suffixes to refer to ancestor revisions
     8 '''interpret suffixes to refer to ancestor revisions
     9 
     9 
    10 This extension allows you to use git-style suffixes to refer to the
    10 This extension allows you to use git-style suffixes to refer to the ancestors
    11 ancestors of a specific revision.
    11 of a specific revision.
    12 
    12 
    13 For example, if you can refer to a revision as "foo", then:
    13 For example, if you can refer to a revision as "foo", then:
    14 
    14 
    15 - foo^N = Nth parent of foo
    15 - foo^N = Nth parent of foo
    16   foo^0 = foo
    16   foo^0 = foo