# HG changeset patch # User Valentin Gatien-Baron # Date 2018-09-25 19:27:41 # 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 --git a/tests/test-revset.t b/tests/test-revset.t --- a/tests/test-revset.t +++ b/tests/test-revset.t @@ -1063,6 +1063,14 @@ test common ancestors 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())'