In lieu of "submodules", is it possible to create a repos heirarchy? The intent is to have a shared set of code in the root repos and then have sub-repos push/pull to the root, but only a specific directory (or alternatively, everything but a specific directory). That way each project can have its own repos while still being able to share access to a common-code repos. This keeps repos small as suggested in "Version Control by Example".
root repos contains a "common" dir
sub-repos1 push/pulls from root but only for the common dir, all other dirs/files live only in sub-repos1 ... sub-repos-N push/pulls from root...
Clients would then push/pull from sub-repos, but not the root repos (at least directly).
Unfortunately, no. It's not possible in Veracity 1.0 to push or pull only part of the source tree.
We've talked about directory-based security, which would result in pulling only the parts of the tree that you have read access to, but that feature hasn't gone beyond the discussion phase.
We've also talked about "sparse" repository support, which is similar in that only some data would be pushed or pulled, but with the explicit goal or minimizing repository size (and therefore minimizing network transfer time).
I think it's likely that Veracity eventually supports both of these in some form, but at this point we're merely talking about them.