how to find all merges into the default branch

Uwe Brauer oub at mat.ucm.es
Tue Feb 13 08:07:35 UTC 2024


>>> "UBvM" == Uwe Brauer via Mercurial <mercurial at lists.mercurial-scm.org> writes:

>>> "BMJ" == Becker, Mischa J <mischa.becker at kroger.com> writes:
>> I have no familiarity with hg-git repos but, just looking at your
>> filter, you aren't including merges, just heads. Would the following
>> work?

> Ah, that did not occur to me.


>> merged = log -G -r "merge()+head()-parents(merge())-closed()-tag(tip)"

> It works like a charm, thanks a lot

For mercurial I have to add. I still struggle to get it to use with
hg-git. But I am using a bit outdated hg-git version


-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20240213/3a140737/attachment.p7s>


More information about the Mercurial mailing list