diff -r 8bf13358a50a -r d39cfc926f95 relpipe-data/examples-in-xmltable-tr-sql-mercurial-hg.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/relpipe-data/examples-in-xmltable-tr-sql-mercurial-hg.xml Wed Jul 31 16:01:34 2019 +0200 @@ -0,0 +1,33 @@ + + + Reading Mercurial history using XMLTable and SQL + filtering the commit log from hg VCS + 02900 + + + +

+ The Mercurial version control system + can provide the repository commit log in a machine readable format – XML. + We will transform this XML to relations using the relpipe-in-xmltable + and then filter records using the SQL language in the relpipe-tr-sql tool. + Everything on-the-fly, in a single shell pipeline. Of course, we can cache intermediate products in a file if needed. +

+ + + +

This script will generate several lovely relations:

+ + + +

+ Using different output filter than relpipe-out-tabular, + we can serialize the relational output into other formats (XML, CSV, Recfile, ODS, ASN.1 BER etc.), + display them in a GUI or execute some shell command for each record. +

+ +
+ +