hgext/win32text.py
changeset 8002 36a23a18b999
parent 7873 4a4c7f6a5912
child 8147 441dc7becd43
equal deleted inserted replaced
8001:c0e3aca616de 8002:36a23a18b999
    12 # # or ** = macencode:
    12 # # or ** = macencode:
    13 # [decode]
    13 # [decode]
    14 # ** = cleverdecode:
    14 # ** = cleverdecode:
    15 # # or ** = macdecode:
    15 # # or ** = macdecode:
    16 #
    16 #
    17 # If not doing conversion, to make sure you do not commit CRLF/CR by accident:
    17 # If not doing conversion, to make sure you do not commit CRLF/CR by
       
    18 # accident:
    18 #
    19 #
    19 # [hooks]
    20 # [hooks]
    20 # pretxncommit.crlf = python:hgext.win32text.forbidcrlf
    21 # pretxncommit.crlf = python:hgext.win32text.forbidcrlf
    21 # # or pretxncommit.cr = python:hgext.win32text.forbidcr
    22 # # or pretxncommit.cr = python:hgext.win32text.forbidcr
    22 #
    23 #
    23 # To do the same check on a server to prevent CRLF/CR from being pushed or
    24 # To do the same check on a server to prevent CRLF/CR from being
    24 # pulled:
    25 # pushed or pulled:
    25 #
    26 #
    26 # [hooks]
    27 # [hooks]
    27 # pretxnchangegroup.crlf = python:hgext.win32text.forbidcrlf
    28 # pretxnchangegroup.crlf = python:hgext.win32text.forbidcrlf
    28 # # or pretxnchangegroup.cr = python:hgext.win32text.forbidcr
    29 # # or pretxnchangegroup.cr = python:hgext.win32text.forbidcr
    29 
    30