Differences between revisions 9 and 19 (spanning 10 versions)
Revision 9 as of 2008-05-12 17:13:05
Size: 941
Editor: abuehl
Comment: since it is distributed along with Mercurial, parentrevspec = will do
Revision 19 as of 2013-09-02 07:03:26
Size: 592
Editor: EvelynP97
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Parentrevspec Extension ==

'''This extension is currently being distributed along with Mercurial.'''

''Author: Alexis S. L. Carvalho''

=== Overview ===
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:

1. `foo^N` = Nth parent of `foo`:
  * `foo^0` = `foo`
  * `foo^1` = first parent of `foo`
  * `foo^2` = second parent of `foo`
  * `foo^` = `foo^1`

2. `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`

So `hg log -r tip^^` or `hg log -r tip~2` will display the grandparent of tip.

=== Configuration ===
Configure your .hgrc to enable the extension by adding the following lines:

{{{
[extensions]
parentrevspec =
}}}

----
CategoryExtension
I'd like to expose myself to you, I am Katie and I think that seems quite good whenever you say that. West Virginia is the place where I've always been living and I do not plan on changing it. The business I have been occupying for decades is an information official but I have always wanted my very own business. My buddies say it is not great for me but what I love doing is baseball and now I have enough time to take on new points. http://thumb10.shutterstock.com/photos/thumb_large/1182092/113716777.jpg You can find my own website here: http://www.youtube.com/watch?v=IHkcnRMVdxc

I'd like to expose myself to you, I am Katie and I think that seems quite good whenever you say that. West Virginia is the place where I've always been living and I do not plan on changing it. The business I have been occupying for decades is an information official but I have always wanted my very own business. My buddies say it is not great for me but what I love doing is baseball and now I have enough time to take on new points. http://thumb10.shutterstock.com/photos/thumb_large/1182092/113716777.jpg You can find my own website here: http://www.youtube.com/watch?v=IHkcnRMVdxc

ParentrevspecExtension (last edited 2013-10-08 01:16:30 by Matthew Gabeler-Lee)