Commits

Marc Simpson committed f4b2b6c

Add hook suggestion.

  • Participants
  • Parent commits 5d0a92c

Comments (0)

Files changed (1)

 You can also specify a persona on clone:
 
     hg clone --persona work src dest
+
+The following hook is also handy for displaying ui.username info on
+each commit (allowing you to catch repository-username mismatches
+early):
+
+    [hooks]
+    # ...
+    pre-commit = echo "(as '`hg showconfig ui.username`')"
 '''
 
 from mercurial.i18n import _