Set different username per directory tree.
This extension is not distributed with Mercurial.
Author: Marcin Kasperski
Write in your ~/.hgrc:
[extensions] dynamic_username = [dynamic_username] work.location = ~/work work.username = John Smith <email@example.com> hobby.location = ~/hobby, ~/blogging hobby.username = Johny <firstname.lastname@example.org>
and commit as John Smith in ~/work/lib/payments and as Johny in ~/hobby/models.
For detailed description see the extension page