equal
deleted
inserted
replaced
1 -*- mode: outline; coding: utf-8 -*- |
1 -*- mode: outline; coding: utf-8 -*- |
|
2 |
|
3 * Useful customization. |
|
4 |
|
5 Put to your ~/.hgrc: |
|
6 |
|
7 [ui] |
|
8 ; Editor for editing commit message. |
|
9 editor = gvim |
|
10 ; Who commit. |
|
11 username = Oleksandr Gavenko <gavenkoa@gmail.com> |
|
12 ; Use internal merge algorithm, which mark conflict like <<<<<< ====== >>>>>>. |
|
13 ; Save previous file version in '*.orig' file, after merge must be marked as |
|
14 ; resolved by running 'hg resolve -m <file>'. |
|
15 merge = internal:merge |
|
16 [web] |
|
17 ; Default encoding for file hosted by 'hg serv'. |
|
18 encoding = utf-8 |
|
19 |
|
20 ** Useful extension. |
|
21 |
|
22 Put to your ~/.hgrc: |
|
23 |
|
24 [extensions] |
|
25 ; To allow fetch command. |
|
26 fetch = |
|
27 ; To allow Mercurial Queues. |
|
28 hgext.mq = |
|
29 |
|
30 ** Multiline log message for log command. |
|
31 |
|
32 By default 'hg log' show only first line of log message. To see all message run: |
|
33 |
|
34 $ hg log -v |
|
35 |
|
36 or put into ~/.hgrc: |
|
37 |
|
38 [defaults] |
|
39 log = -v |
|
40 |
|
41 ** Follow history ever when file copied. |
|
42 |
|
43 By default 'hg log' show only history after last file copy. To see log message |
|
44 before copying run: |
|
45 |
|
46 $ hg log -f |
|
47 |
|
48 or put into ~/.hgrc: |
|
49 |
|
50 [defaults] |
|
51 log = -f |
2 |
52 |
3 * Manage patches with MQ. |
53 * Manage patches with MQ. |
4 |
54 |
5 First enable MQ, add following to your ~/.hgrc: |
55 First enable MQ, add following to your ~/.hgrc: |
6 |
56 |