Not sure whether this is what you exactly mean, but http://ikiwiki.info/ intends to use revision control system (subversion and git are mentioned explicite, but any system with hooks should do, including mercurial).