Meta has something similar to this using mercurial. It was awesome.