To further clarify my query: @jenkinsci suggested using the Multi-SCM plugin.
This works well in so much as it gets out the parent repo and then grabs the latest sub repo and writes it to the library folder. What I additionally need is that if the library sub repo has been updated, the parent .hgsubstate file needs to be updated, committed and pushed into the upstream repo. Is there plugin out there to handle this kind of behaviour?
