How can I see, if the changeset has already been grafted between branchX and default?
I know, hg graft checks this for me, there I can’t graft twice, but I want to list all changesets, which were not grafted between branchX and default.
Thanks in advance for your answers.
How can I see, if the changeset has already been grafted between branchX and
Share
This information is stored in the so-called “extra” dictionary inside the grafted changeset. This is a simple key-value mapping that you can see with
hg log --debug.The information is unfortunately not exposed as a revset predicate yet, so you’ll have to do it the old-fashioned way: start with
to get the changesets on
branchX. Thengrepor otherwise search for lines matchingYou could use the Mercurial bindings if you want a more high-level access. There are libraries for Java, Python, and Scala at the moment.