##// END OF EJS Templates
Convert default mercurial.ini file to Windows line endings
Lee Cantey -
r4749:778bab99 default
parent child Browse files
Show More
@@ -1,41 +1,41 b''
1 ; System-wide Mercurial config file. To override these settings on a
1 ; System-wide Mercurial config file. To override these settings on a
2 ; per-user basis, please edit the following file instead, where
2 ; per-user basis, please edit the following file instead, where
3 ; USERNAME is your Windows user name:
3 ; USERNAME is your Windows user name:
4 ; C:\Documents and Settings\USERNAME\Mercurial.ini
4 ; C:\Documents and Settings\USERNAME\Mercurial.ini
5
5
6 [ui]
6 [ui]
7 editor = notepad
7 editor = notepad
8
8
9 ; By default, we try to encode and decode all files that do not
9 ; By default, we try to encode and decode all files that do not
10 ; contain ASCII NUL characters. What this means is that we try to set
10 ; contain ASCII NUL characters. What this means is that we try to set
11 ; line endings to Windows style on update, and to Unix style on
11 ; line endings to Windows style on update, and to Unix style on
12 ; commit. This lets us cooperate with Linux and Unix users, so
12 ; commit. This lets us cooperate with Linux and Unix users, so
13 ; everybody sees files with their native line endings.
13 ; everybody sees files with their native line endings.
14
14
15 [extensions]
15 [extensions]
16 ; The win32text extension is available and installed by default. It
16 ; The win32text extension is available and installed by default. It
17 ; provides built-in Python hooks to perform line ending conversions.
17 ; provides built-in Python hooks to perform line ending conversions.
18 ; This is normally much faster than running an external program.
18 ; This is normally much faster than running an external program.
19 hgext.win32text =
19 hgext.win32text =
20
20
21
21
22 [encode]
22 [encode]
23 ; Encode files that don't contain NUL characters.
23 ; Encode files that don't contain NUL characters.
24
24
25 ; ** = cleverencode:
25 ; ** = cleverencode:
26
26
27 ; Alternatively, you can explicitly specify each file extension that
27 ; Alternatively, you can explicitly specify each file extension that
28 ; you want encoded (any you omit will be left untouched), like this:
28 ; you want encoded (any you omit will be left untouched), like this:
29
29
30 ; *.txt = dumbencode:
30 ; *.txt = dumbencode:
31
31
32
32
33 [decode]
33 [decode]
34 ; Decode files that don't contain NUL characters.
34 ; Decode files that don't contain NUL characters.
35
35
36 ; ** = cleverdecode:
36 ; ** = cleverdecode:
37
37
38 ; Alternatively, you can explicitly specify each file extension that
38 ; Alternatively, you can explicitly specify each file extension that
39 ; you want decoded (any you omit will be left untouched), like this:
39 ; you want decoded (any you omit will be left untouched), like this:
40
40
41 ; **.txt = dumbdecode:
41 ; **.txt = dumbdecode:
General Comments 0
You need to be logged in to leave comments. Login now