Show More
@@ -376,7 +376,7 b' def filemerge(repo, mynode, orig, fcd, f' | |||
|
376 | 376 | |
|
377 | 377 | ui.debug("my %s other %s ancestor %s\n" % (fcd, fco, fca)) |
|
378 | 378 | |
|
379 |
markerstyle = ui.config('ui', 'mergemarkers', ' |
|
|
379 | markerstyle = ui.config('ui', 'mergemarkers', 'basic') | |
|
380 | 380 | if markerstyle == 'basic': |
|
381 | 381 | formattedlabels = _defaultconflictlabels |
|
382 | 382 | else: |
@@ -1215,11 +1215,11 b' User interface controls.' | |||
|
1215 | 1215 | For configuring merge tools see the ``[merge-tools]`` section. |
|
1216 | 1216 | |
|
1217 | 1217 | ``mergemarkers`` |
|
1218 |
Sets the merge conflict marker label styling. The |
|
|
1218 | Sets the merge conflict marker label styling. The ``detailed`` | |
|
1219 | 1219 | style uses the ``mergemarkertemplate`` setting to style the labels. |
|
1220 | 1220 | The ``basic`` style just uses 'local' and 'other' as the marker label. |
|
1221 | 1221 | One of ``basic`` or ``detailed``. |
|
1222 |
Default is `` |
|
|
1222 | Default is ``basic``. | |
|
1223 | 1223 | |
|
1224 | 1224 | ``mergemarkertemplate`` |
|
1225 | 1225 | The template used to print the commit description next to each conflict |
@@ -1227,6 +1227,13 b' User interface controls.' | |||
|
1227 | 1227 | format. |
|
1228 | 1228 | Defaults to showing the hash, tags, branches, bookmarks, author, and |
|
1229 | 1229 | the first line of the commit description. |
|
1230 | You have to pay attention to encodings of managed files, if you | |
|
1231 | use non-ASCII characters in tags, branches, bookmarks, author | |
|
1232 | and/or commit descriptions. At template expansion, non-ASCII | |
|
1233 | characters use the encoding specified by ``--encoding`` global | |
|
1234 | option, ``HGENCODING`` or other locale setting environment | |
|
1235 | variables. The difference of encoding between merged file and | |
|
1236 | conflict markers causes serious problem. | |
|
1230 | 1237 | |
|
1231 | 1238 | ``portablefilenames`` |
|
1232 | 1239 | Check for portable filenames. Can be ``warn``, ``ignore`` or ``abort``. |
@@ -648,6 +648,7 b' class Test(unittest.TestCase):' | |||
|
648 | 648 | hgrc.write('[ui]\n') |
|
649 | 649 | hgrc.write('slash = True\n') |
|
650 | 650 | hgrc.write('interactive = False\n') |
|
651 | hgrc.write('mergemarkers = detailed\n') | |
|
651 | 652 | hgrc.write('[defaults]\n') |
|
652 | 653 | hgrc.write('backout = -d "0 0"\n') |
|
653 | 654 | hgrc.write('commit = -d "0 0"\n') |
@@ -7,6 +7,7 b' Create a repository:' | |||
|
7 | 7 | defaults.tag=-d "0 0" |
|
8 | 8 | ui.slash=True |
|
9 | 9 | ui.interactive=False |
|
10 | ui.mergemarkers=detailed | |
|
10 | 11 | $ hg init t |
|
11 | 12 | $ cd t |
|
12 | 13 |
@@ -80,6 +80,7 b' defaults.shelve=--date "0 0"' | |||
|
80 | 80 | defaults.tag=-d "0 0" |
|
81 | 81 | ui.slash=True |
|
82 | 82 | ui.interactive=False |
|
83 | ui.mergemarkers=detailed | |
|
83 | 84 | ui.foo=bar |
|
84 | 85 | ui.nontty=true |
|
85 | 86 | runcommand init foo |
@@ -90,6 +91,7 b' defaults.shelve=--date "0 0"' | |||
|
90 | 91 | defaults.tag=-d "0 0" |
|
91 | 92 | ui.slash=True |
|
92 | 93 | ui.interactive=False |
|
94 | ui.mergemarkers=detailed | |
|
93 | 95 | ui.nontty=true |
|
94 | 96 | |
|
95 | 97 | testing hookoutput: |
General Comments 0
You need to be logged in to leave comments.
Login now