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.
--- 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]
|