title: How do I run mercurial queries from C++ (cross-platform)?
body: <p>I would like to run some mercurial queries from C++ and get some results (similar to what we get on the command line) and would like it to be cross-platform. Any way to accomplish this without using <a href="https://www.mercurial-scm.org/wiki/MercurialApi" rel="nofollow noreferrer">Mercurial python API</a> (I am hoping to see a wrapper that someone has already built in C++ or in C)?</p>