Dynamic Username

Set different username per directory tree.


  1. Status
  2. Overview

1. Status

This extension is not distributed with Mercurial.

Author: Marcin Kasperski

Repository: https://bitbucket.org/Mekk/mercurial-dynamic_username

Web page: https://bitbucket.org/Mekk/mercurial-dynamic_username

2. Overview

Write in your ~/.hgrc:

dynamic_username =

work.location = ~/work
work.username = John Smith <john.smith@serious.com>
hobby.location = ~/hobby, ~/blogging
hobby.username = Johny <fastjohny@fantasy.net>

and commit as John Smith in ~/work/lib/payments and as Johny in ~/hobby/models.

For detailed description see the extension page


DynamicUsernameExtension (last edited 2015-10-12 08:56:03 by MarcinKasperski)