From the repo you want to pull, try the following command:
hg log -r "outgoing('path\to\your\repo') and head()"
If you cannot run this on the repo from which you want to extract directly, then clone it locally and run it on the clone.
head () is defined as βChanges are a named branch of a branch,β so if the headers you are interested in are not called branches, I'm not sure if this will work.
Check out hg help revset for more information.
source share