# HG changeset patch # User Boris Feld # Date 1516034800 -3600 # Node ID 64d7e9a5a9af8866b0a3a74365a5af8e1ef4f273 # Parent eacf6149b678f9b47a8756e7af7c2b99c834fa77 test: add a test for current behavior of precursors revset The precursors revset currently returns the closest predecessors of a revset. If these predecessors are not known locally, it returns an empty list. diff -r eacf6149b678 -r 64d7e9a5a9af tests/test-evolve-obshistory.t --- a/tests/test-evolve-obshistory.t Tue Jan 09 20:01:50 2018 +0530 +++ b/tests/test-evolve-obshistory.t Mon Jan 15 17:46:40 2018 +0100 @@ -1653,6 +1653,9 @@ rewritten(description) as fdf9bde5129a by test (*) (glob) (No patch available, successor is unknown locally) + + $ hg log -G -r "precursors(7a230b46bf61)" + $ hg obslog 7a230b46bf61 --color=debug --patch o [evolve.node|7a230b46bf61] [evolve.rev|(2)] [evolve.short_description|A2] |