Show More
@@ -1,30 +1,71 b'' | |||||
1 |
; System-wide Mercurial config file. |
|
1 | ; System-wide Mercurial config file. | |
2 | ; per-user basis, please edit the following file instead, where |
|
2 | ; | |
3 | ; USERNAME is your Windows user name: |
|
3 | ; !!! Do Not Edit This File !!! | |
4 | ; C:\Documents and Settings\USERNAME\Mercurial.ini |
|
4 | ; | |
|
5 | ; This file will be replaced by the installer on every upgrade. | |||
|
6 | ; Editing this file can cause strange side effects on Vista. | |||
|
7 | ; | |||
|
8 | ; http://bitbucket.org/tortoisehg/stable/issue/135 | |||
|
9 | ; | |||
|
10 | ; To change settings you see in this file, override (or enable) them in | |||
|
11 | ; your user Mercurial.ini file, where USERNAME is your Windows user name: | |||
|
12 | ; | |||
|
13 | ; XP or older - C:\Documents and Settings\USERNAME\Mercurial.ini | |||
|
14 | ; Vista or later - C:\Users\USERNAME\Mercurial.ini | |||
|
15 | ||||
5 |
|
16 | |||
6 | [ui] |
|
17 | [ui] | |
|
18 | ; editor used to enter commit logs, etc. Most text editors will work. | |||
7 | editor = notepad |
|
19 | editor = notepad | |
8 | ; show changed files and be a bit more verbose if True |
|
20 | ; show changed files and be a bit more verbose if True | |
9 | ; verbose = True |
|
21 | ; verbose = True | |
10 |
|
22 | |||
11 | ; username data to appear in commits |
|
23 | ; username data to appear in commits | |
12 | ; it usually takes the form: Joe User <joe.user@host.com> |
|
24 | ; it usually takes the form: Joe User <joe.user@host.com> | |
13 | ; username = Joe User <j.user@example.com> |
|
25 | ; username = Joe User <j.user@example.com> | |
14 |
|
26 | |||
15 |
|
27 | ; In order to push/pull over ssh you must specify an ssh tool | ||
16 | ; By default, we try to encode and decode all files that do not |
|
28 | ;ssh = "C:\Progra~1\TortoiseSVN\bin\TortoisePlink.exe" -ssh -2 | |
17 | ; contain ASCII NUL characters. What this means is that we try to set |
|
29 | ;ssh = C:\cygwin\bin\ssh | |
18 | ; line endings to Windows style on update, and to Unix style on |
|
|||
19 | ; commit. This lets us cooperate with Linux and Unix users, so |
|
|||
20 | ; everybody sees files with their native line endings. |
|
|||
21 |
|
30 | |||
|
31 | ; | |||
|
32 | ; For more information about mercurial extensions, start here | |||
|
33 | ; http://www.selenic.com/mercurial/wiki/index.cgi/UsingExtensions | |||
|
34 | ; | |||
|
35 | ; Extensions shipped with Mercurial | |||
|
36 | ; | |||
22 | [extensions] |
|
37 | [extensions] | |
23 | ; The win32text extension is available and installed by default. It |
|
38 | ;acl = | |
24 | ; provides built-in Python hooks to perform line ending conversions. |
|
39 | ;alias = | |
25 | ; This is normally much faster than running an external program. |
|
40 | ;bookmarks = | |
26 | hgext.win32text = |
|
41 | ;bugzilla = | |
|
42 | ;children = | |||
|
43 | ;churn = | |||
|
44 | ;color = | |||
|
45 | ;convert = | |||
|
46 | ;extdiff = | |||
|
47 | ;fetch = | |||
|
48 | ;gpg = | |||
|
49 | ;graphlog = | |||
|
50 | ;hgcia = | |||
|
51 | ;hgk = | |||
|
52 | ;highlight = | |||
|
53 | ;interhg = | |||
|
54 | ;keyword = | |||
|
55 | ;mq = | |||
|
56 | ;notify = | |||
|
57 | ;pager = | |||
|
58 | ;parentrevspec = | |||
|
59 | ;patchbomb = | |||
|
60 | ;purge = | |||
|
61 | ;rebase = | |||
|
62 | ;record = | |||
|
63 | ;transplant = | |||
|
64 | ;win32mbcs = | |||
|
65 | ;win32text = | |||
|
66 | ;zeroconf = | |||
27 |
|
67 | |||
|
68 | ; To use cleverencode/cleverdecode, you must enable win32text extension | |||
28 |
|
69 | |||
29 | [encode] |
|
70 | [encode] | |
30 | ; Encode files that don't contain NUL characters. |
|
71 | ; Encode files that don't contain NUL characters. | |
@@ -44,10 +85,40 b' hgext.win32text =' | |||||
44 |
|
85 | |||
45 | ; Alternatively, you can explicitly specify each file extension that |
|
86 | ; Alternatively, you can explicitly specify each file extension that | |
46 | ; you want decoded (any you omit will be left untouched), like this: |
|
87 | ; you want decoded (any you omit will be left untouched), like this: | |
|
88 | ||||
47 | ; **.txt = dumbdecode: |
|
89 | ; **.txt = dumbdecode: | |
|
90 | ||||
|
91 | [patch] | |||
|
92 | ; If you enable win32text filtering, you will want to enable this | |||
|
93 | ; line as well to allow patching to work correctly. | |||
|
94 | ||||
|
95 | ; eol = crlf | |||
|
96 | ||||
|
97 | ||||
|
98 | ; | |||
|
99 | ; Define external diff commands | |||
|
100 | ; | |||
|
101 | [extdiff] | |||
|
102 | ;cmd.bc3diff = C:\Program Files\Beyond Compare 3\BCompare.exe | |||
|
103 | ;cmd.vdiff = C:\Progra~1\TortoiseSVN\bin\TortoiseMerge.exe | |||
|
104 | ;cmd.vimdiff = gvim.exe | |||
|
105 | ;opts.vimdiff = -f '+next' '+execute "DirDiff ".argv(0)." ".argv(1)' | |||
|
106 | ||||
|
107 | ||||
48 | [hgk] |
|
108 | [hgk] | |
49 | ; Replace the following with your path to hgk, uncomment it and |
|
109 | ; Replace the following with your path to hgk, uncomment it and | |
50 | ; install ActiveTcl (or another win32 port) |
|
110 | ; install ActiveTcl (or another win32 port like tclkit) | |
51 | ; path="C:\Program Files\Mercurial\Contrib\hgk.tcl" |
|
111 | ; path="C:\Program Files\Mercurial\Contrib\hgk.tcl" | |
|
112 | ; vdiff=vdiff | |||
|
113 | ||||
52 |
|
114 | |||
|
115 | ; | |||
|
116 | ; The git extended diff format can represent binary files, file | |||
|
117 | ; permission changes, and rename information that the normal patch format | |||
|
118 | ; cannot describe. However it is also not compatible with tools which | |||
|
119 | ; expect normal patches. so enable git patches at your own risk. | |||
|
120 | ; | |||
|
121 | [diff] | |||
|
122 | ;git = false | |||
|
123 | ;nodates = false | |||
53 |
|
124 |
General Comments 0
You need to be logged in to leave comments.
Login now