Very interesting, thank you! Unfortunately, the doc page doesn't make it clear that the merge would produce a single commit; I wish this was clearer.
Also, do I understand it correctly that it's a single branch named "private" per repo?
Squashing the whole development in a single commit will lose granularity though, and make it hard to review the changes later. You could just use quilt
(patch queues) for development, it's not optimal to have two tools though.
IMHO, this solves all issues in a very elegant way - my local repository shows all the commits (both private and public) but everyone else's shows all the commits as intended by the developers. Additionally, the public history is maintained consistently without wondering if someone messed it up.
https://www.fossil-scm.org/home/doc/4d8aecdf/www/private.wik...