contrib/check-commit
changeset 26421 4b0fc75f9403
parent 25643 6f6c97d29a1e
child 27199 8f5735b4aca5
equal deleted inserted replaced
26420:2fc86d92c4a9 26421:4b0fc75f9403
    11 #
    11 #
    12 # The hook can be temporarily bypassed with:
    12 # The hook can be temporarily bypassed with:
    13 #
    13 #
    14 # $ BYPASS= hg commit
    14 # $ BYPASS= hg commit
    15 #
    15 #
    16 # See also: http://mercurial.selenic.com/wiki/ContributingChanges
    16 # See also: https://mercurial-scm.org/wiki/ContributingChanges
    17 
    17 
    18 import re, sys, os
    18 import re, sys, os
    19 
    19 
    20 errors = [
    20 errors = [
    21     (r"[(]bc[)]", "(BC) needs to be uppercase"),
    21     (r"[(]bc[)]", "(BC) needs to be uppercase"),