In mac or linux, put the following text in ~/.hgrc. In windows, .hgrc is under the install directory
[paths] default = /Users/twer/learn/hg/sandbox [ui] username = zhangruimin [extensions] color = fetch = hgk = highlight = mq = purge = rebase = bookmarks = [color] status.modified = yellow bold status.added = green bold status.removed = red bold blue_background status.deleted = cyan bold underline status.unknown = magenta bold underline status.ignored = black bold [bookmarks] track.current = True