Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Yuya Nishihara
- Sat, 10 Nov 2018 03:07:26
Show More
mercurial/commands.py
0
+1
-1
@@
-4959,7
+4959,7
b' def resolve(ui, repo, *pats, **opts):'
4959
if hasconflictmarkers :
4959
if hasconflictmarkers :
4960
ui . warn ( _ ( 'warning: the following files still have conflict '
4960
ui . warn ( _ ( 'warning: the following files still have conflict '
4961
'markers: \n ' ) + ' \n ' . join ( hasconflictmarkers ) + ' \n ' )
4961
'markers: \n ' ) + ' \n ' . join ( hasconflictmarkers ) + ' \n ' )
4962
if markcheck == 'abort' and not all :
4962
if markcheck == 'abort' and not all and not pats :
4963
raise error . Abort ( _ ( 'conflict markers detected' ),
4963
raise error . Abort ( _ ( 'conflict markers detected' ),
4964
hint = _ ( 'use --all to mark anyway' ))
4964
hint = _ ( 'use --all to mark anyway' ))
4965
4965
mercurial/help/internals/config.txt
0
+8
-7
@@
-99,10
+99,11
b' requiring a default value. The existing '
99
then stay in use until compatibility with Mercurial 4.2 is dropped.
99
then stay in use until compatibility with Mercurial 4.2 is dropped.
100
100
101
As reminder, here are the default values for each config type:
101
As reminder, here are the default values for each config type:
102
- config: None
102
103
- configbool: False
103
- config: None
104
- configbytes: 0
104
- configbool: False
105
- configdate: None
105
- configbytes: 0
106
- configint: None
106
- configdate: None
107
- configlist: []
107
- configint: None
108
- configpath: None
108
- configlist: []
109
- configpath: None
mercurial/hgweb/request.py
0
+6
0
@@
-540,6
+540,12
b' class wsgiresponse(object):'
540
yield self . _bodybytes
540
yield self . _bodybytes
541
elif self . _bodygen :
541
elif self . _bodygen :
542
for chunk in self . _bodygen :
542
for chunk in self . _bodygen :
543
# PEP-3333 says that output must be bytes. And some WSGI
544
# implementations enforce this. We cast bytes-like types here
545
# for convenience.
546
if isinstance ( chunk , bytearray ):
547
chunk = bytes ( chunk )
548
543
yield chunk
549
yield chunk
544
elif self . _bodywillwrite :
550
elif self . _bodywillwrite :
545
self . _bodywritefn = write
551
self . _bodywritefn = write
mercurial/ui.py
0
0
-3
@@
-67,9
+67,6
b' status.relative = yes'
67
update.check = noconflict
67
update.check = noconflict
68
# Show conflicts information in `hg status`
68
# Show conflicts information in `hg status`
69
status.verbose = True
69
status.verbose = True
70
# Refuse to perform `hg resolve --mark` on files that still have conflict
71
# markers
72
resolve.mark-check = abort
73
70
74
[diff]
71
[diff]
75
git = 1
72
git = 1
tests/test-resolve.t
0
+13
0
@@
-445,6
+445,19
b" Test explicitly setting the option to 'n"
445
$ hg resolve - l
445
$ hg resolve - l
446
R file1
446
R file1
447
R file2
447
R file2
448
Test with marking an explicit file as resolved , this should not abort ( since
449
there 's no --force flag, we have no way of combining --all with a filename)
450
$ hg resolve --unmark
451
$ hg resolve -l
452
U file1
453
U file2
454
(This downgrades to a warning since an explicit file was specified).
455
$ hg --config commands.resolve.mark-check=abort resolve -m file2
456
warning: the following files still have conflict markers:
457
file2
458
$ hg resolve -l
459
U file1
460
R file2
448
Testing the -- re - merge flag
461
Testing the --re-merge flag
449
$ hg resolve -- unmark file1
462
$ hg resolve --unmark file1
450
$ hg resolve - l
463
$ hg resolve -l
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages