# HG changeset patch # User Valentin Gatien-Baron # Date 1537903661 14400 # Node ID 572cd30eaffb94ac98270bd9750c5cccbcfcc5a3 # Parent f28812c708a5cac724e0b963f7dbf669d48457f7 revset: add test demonstrating a bug with commonancestor() Specifically, 9 is clearly not in "::8 and ::9". Differential Revision: https://phab.mercurial-scm.org/D4737 diff -r f28812c708a5 -r 572cd30eaffb tests/test-revset.t --- a/tests/test-revset.t Tue Sep 25 16:03:14 2018 -0400 +++ b/tests/test-revset.t Tue Sep 25 15:27:41 2018 -0400 @@ -1063,6 +1063,14 @@ 8 9 + $ hg log -T '{rev}\n' -r 'commonancestors(8 + 9)' + 0 + 1 + 2 + 4 + 8 + 9 + test ancestor variants of empty revision $ log 'ancestor(none())'