Felix Petriconi
Felix Petriconi

Reputation: 705

How to get all parents changeset in Mercurial

Currently I am struggling with the Mercurial (v. 2.6.2) log feature. For creation of a change log of our software I have to collect the following set of changeset:

|
O A First interested revision on default
|
O B start of branch
|\  
| \
|  O C Commit on branch
O  | D commit on default
| /
|/
O E Merge from branch to default
|
|
O F start of release branch
|\
| \
O  | G on-going development on default
|  O H Patch fix on release branch
|  |

So what I try to get is a collection of changeset that contain A,(B),(C),D,E,(F),H. The changesets in brackets would not harm if they are part of the log, but they would not be necessary. The changeset G must not be part of the log.

Upvotes: 0

Views: 116

Answers (1)

Ringding
Ringding

Reputation: 2856

$ hg help revsets
$ hg log -r A::H

Upvotes: 1

Related Questions