Show More
@@ -7,7 +7,7 b'' | |||||
7 |
|
7 | |||
8 | '''perform automatic newline conversion |
|
8 | '''perform automatic newline conversion | |
9 |
|
9 | |||
10 | To perform automatic newline conversion, use: |
|
10 | To perform automatic newline conversion, use:: | |
11 |
|
11 | |||
12 | [extensions] |
|
12 | [extensions] | |
13 | hgext.win32text = |
|
13 | hgext.win32text = | |
@@ -19,14 +19,14 b' hgext.win32text =' | |||||
19 | ** = cleverdecode: |
|
19 | ** = cleverdecode: | |
20 | # or ** = macdecode: |
|
20 | # or ** = macdecode: | |
21 |
|
21 | |||
22 | If not doing conversion, to make sure you do not commit CRLF/CR by accident: |
|
22 | If not doing conversion, to make sure you do not commit CRLF/CR by accident:: | |
23 |
|
23 | |||
24 | [hooks] |
|
24 | [hooks] | |
25 | pretxncommit.crlf = python:hgext.win32text.forbidcrlf |
|
25 | pretxncommit.crlf = python:hgext.win32text.forbidcrlf | |
26 | # or pretxncommit.cr = python:hgext.win32text.forbidcr |
|
26 | # or pretxncommit.cr = python:hgext.win32text.forbidcr | |
27 |
|
27 | |||
28 | To do the same check on a server to prevent CRLF/CR from being |
|
28 | To do the same check on a server to prevent CRLF/CR from being | |
29 | pushed or pulled: |
|
29 | pushed or pulled:: | |
30 |
|
30 | |||
31 | [hooks] |
|
31 | [hooks] | |
32 | pretxnchangegroup.crlf = python:hgext.win32text.forbidcrlf |
|
32 | pretxnchangegroup.crlf = python:hgext.win32text.forbidcrlf |
General Comments 0
You need to be logged in to leave comments.
Login now