##// END OF EJS Templates
sslutil: require TLS 1.1+ when supported...
sslutil: require TLS 1.1+ when supported Currently, Mercurial will use TLS 1.0 or newer when connecting to remote servers, selecting the highest TLS version supported by both peers. On older Pythons, only TLS 1.0 is available. On newer Pythons, TLS 1.1 and 1.2 should be available. Security professionals recommend avoiding TLS 1.0 if possible. PCI DSS 3.1 "strongly encourages" the use of TLS 1.2. Known attacks like BEAST and POODLE exist against TLS 1.0 (although mitigations are available and properly configured servers aren't vulnerable). I asked Eric Rescorla - Mozilla's resident crypto expert - whether Mercurial should drop support for TLS 1.0. His response was "if you can get away with it." Essentially, a number of servers on the Internet don't support TLS 1.1+. This is why web browsers continue to support TLS 1.0 despite desires from security experts. This patch changes Mercurial's default behavior on modern Python versions to require TLS 1.1+, thus avoiding known security issues with TLS 1.0 and making Mercurial more secure by default. Rather than drop TLS 1.0 support wholesale, we still allow TLS 1.0 to be used if configured. This is a compromise solution - ideally we'd disallow TLS 1.0. However, since we're not sure how many Mercurial servers don't support TLS 1.1+ and we're not sure how much user inconvenience this change will bring, I think it is prudent to ship an escape hatch that still allows usage of TLS 1.0. In the default case our users get better security. In the worst case, they are no worse off than before this patch. This patch has no effect when running on Python versions that don't support TLS 1.1+. As the added test shows, connecting to a server that doesn't support TLS 1.1+ will display a warning message with a link to our wiki, where we can guide people to configure their client to allow less secure connections.

File last commit:

r28029:72072cfc default
r29560:303e9300 default
Show More
test-merge-types.t
443 lines | 12.2 KiB | text/troff | Tads3Lexer
/ tests / test-merge-types.t
Matt Mackall
tests: replace exit 80 with #require
r22046 #require symlink execbit
Mads Kiilerich
tests: use 'hghave symlink' for tests using symlinks
r15441
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ tellmeabout() {
> if [ -h $1 ]; then
> echo $1 is a symlink:
> $TESTDIR/readlink.py $1
> elif [ -x $1 ]; then
> echo $1 is an executable file with content:
> cat $1
> else
> echo $1 is a plain file with content:
> cat $1
> fi
> }
$ hg init test1
$ cd test1
Adrian Buehlmann
combine tests
r12279
$ echo a > a
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ hg ci -Aqmadd
Adrian Buehlmann
combine tests
r12279 $ chmod +x a
$ hg ci -mexecutable
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ hg up -q 0
Adrian Buehlmann
combine tests
r12279 $ rm a
$ ln -s symlink a
$ hg ci -msymlink
created new head
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 Symlink is local parent, executable is other:
Adrian Buehlmann
combine tests
r12279 $ hg merge --debug
searching for copies back to rev 1
resolving manifests
Siddharth Agarwal
manifestmerge: pass in branchmerge and force separately...
r18605 branchmerge: True, force: False, partial: False
Martin Geisler
merge: make debug output easier to read...
r15625 ancestor: c334dc3be0da, local: 521a1e40188f+, remote: 3574f3e69b1c
Mads Kiilerich
merge: change debug logging - test output changes but no real changes...
r21391 preserving a for resolve of a
Siddharth Agarwal
merge.mergestate: perform all premerges before any merges (BC)...
r26618 a: versions differ -> m (premerge)
Siddharth Agarwal
filemerge: add debug output for whether this is a change/delete conflict...
r27161 picked tool ':merge' for a (binary False symlink True changedelete False)
Mads Kiilerich
merge: merge file flags together with file content...
r18338 merging a
my a@521a1e40188f+ other a@3574f3e69b1c ancestor a@c334dc3be0da
Mads Kiilerich
filemerge: switch the default name for internal tools from internal:x to :x
r22707 warning: internal :merge cannot merge symlinks for a
Siddharth Agarwal
simplemerge: move conflict warning message to filemerge...
r26614 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
Mads Kiilerich
merge: merge file flags together with file content...
r18338 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
[1]
Adrian Buehlmann
combine tests
r12279
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ tellmeabout a
Mads Kiilerich
merge: merge file flags together with file content...
r18338 a is a symlink:
a -> symlink
$ hg resolve a --tool internal:other
Pierre-Yves David
resolve: add parenthesis around "no more unresolved files" message...
r21947 (no more unresolved files)
Mads Kiilerich
merge: merge file flags together with file content...
r18338 $ tellmeabout a
a is an executable file with content:
a
$ hg st
M a
? a.orig
Adrian Buehlmann
combine tests
r12279
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 Symlink is other parent, executable is local:
Adrian Buehlmann
combine tests
r12279
$ hg update -C 1
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Siddharth Agarwal
filemerge: print correct name of tool for symlink checks...
r26518 $ hg merge --debug --tool :union
Adrian Buehlmann
combine tests
r12279 searching for copies back to rev 1
resolving manifests
Siddharth Agarwal
manifestmerge: pass in branchmerge and force separately...
r18605 branchmerge: True, force: False, partial: False
Martin Geisler
merge: make debug output easier to read...
r15625 ancestor: c334dc3be0da, local: 3574f3e69b1c+, remote: 521a1e40188f
Mads Kiilerich
merge: change debug logging - test output changes but no real changes...
r21391 preserving a for resolve of a
Siddharth Agarwal
merge.mergestate: perform all premerges before any merges (BC)...
r26618 a: versions differ -> m (premerge)
Siddharth Agarwal
filemerge: add debug output for whether this is a change/delete conflict...
r27161 picked tool ':union' for a (binary False symlink True changedelete False)
Mads Kiilerich
merge: merge file flags together with file content...
r18338 merging a
my a@3574f3e69b1c+ other a@521a1e40188f ancestor a@c334dc3be0da
Siddharth Agarwal
filemerge: print correct name of tool for symlink checks...
r26518 warning: internal :union cannot merge symlinks for a
Siddharth Agarwal
simplemerge: move conflict warning message to filemerge...
r26614 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
Mads Kiilerich
merge: merge file flags together with file content...
r18338 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
[1]
Adrian Buehlmann
combine tests
r12279
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ tellmeabout a
Mads Kiilerich
merge: merge file flags together with file content...
r18338 a is an executable file with content:
a
Adrian Buehlmann
combine tests
r12279
Siddharth Agarwal
filemerge: run symlink check for :merge3...
r26519 $ hg update -C 1
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg merge --debug --tool :merge3
searching for copies back to rev 1
resolving manifests
branchmerge: True, force: False, partial: False
ancestor: c334dc3be0da, local: 3574f3e69b1c+, remote: 521a1e40188f
preserving a for resolve of a
Siddharth Agarwal
merge.mergestate: perform all premerges before any merges (BC)...
r26618 a: versions differ -> m (premerge)
Siddharth Agarwal
filemerge: add debug output for whether this is a change/delete conflict...
r27161 picked tool ':merge3' for a (binary False symlink True changedelete False)
Siddharth Agarwal
filemerge: run symlink check for :merge3...
r26519 merging a
my a@3574f3e69b1c+ other a@521a1e40188f ancestor a@c334dc3be0da
warning: internal :merge3 cannot merge symlinks for a
Siddharth Agarwal
simplemerge: move conflict warning message to filemerge...
r26614 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
Siddharth Agarwal
filemerge: run symlink check for :merge3...
r26519 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
[1]
$ tellmeabout a
a is an executable file with content:
a
Siddharth Agarwal
test-merge-types.t: add tests for :merge-local/:merge-other with symlinks...
r26892 $ hg update -C 1
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg merge --debug --tool :merge-local
searching for copies back to rev 1
resolving manifests
branchmerge: True, force: False, partial: False
ancestor: c334dc3be0da, local: 3574f3e69b1c+, remote: 521a1e40188f
preserving a for resolve of a
a: versions differ -> m (premerge)
Siddharth Agarwal
filemerge: add debug output for whether this is a change/delete conflict...
r27161 picked tool ':merge-local' for a (binary False symlink True changedelete False)
Siddharth Agarwal
test-merge-types.t: add tests for :merge-local/:merge-other with symlinks...
r26892 merging a
my a@3574f3e69b1c+ other a@521a1e40188f ancestor a@c334dc3be0da
Siddharth Agarwal
filemerge: move :merge-local/other symlink check to precheck...
r26893 warning: internal :merge-local cannot merge symlinks for a
Siddharth Agarwal
test-merge-types.t: add tests for :merge-local/:merge-other with symlinks...
r26892 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
[1]
$ tellmeabout a
a is an executable file with content:
a
$ hg update -C 1
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg merge --debug --tool :merge-other
searching for copies back to rev 1
resolving manifests
branchmerge: True, force: False, partial: False
ancestor: c334dc3be0da, local: 3574f3e69b1c+, remote: 521a1e40188f
preserving a for resolve of a
a: versions differ -> m (premerge)
Siddharth Agarwal
filemerge: add debug output for whether this is a change/delete conflict...
r27161 picked tool ':merge-other' for a (binary False symlink True changedelete False)
Siddharth Agarwal
test-merge-types.t: add tests for :merge-local/:merge-other with symlinks...
r26892 merging a
my a@3574f3e69b1c+ other a@521a1e40188f ancestor a@c334dc3be0da
Siddharth Agarwal
filemerge: move :merge-local/other symlink check to precheck...
r26893 warning: internal :merge-other cannot merge symlinks for a
Siddharth Agarwal
test-merge-types.t: add tests for :merge-local/:merge-other with symlinks...
r26892 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
[1]
$ tellmeabout a
a is an executable file with content:
a
Matt Mackall
merge: handle linear update to symlink correctly (issue3316)...
r16255 Update to link without local change should get us a symlink (issue3316):
Mads Kiilerich
tests: fix test markup in test-merge-types.t...
r17110 $ hg up -C 0
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg up
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
Pierre-Yves David
update: warn about other topological heads on bare update...
r28029 1 other heads for branch "default"
Mads Kiilerich
tests: fix test markup in test-merge-types.t...
r17110 $ hg st
Mads Kiilerich
merge: merge file flags together with file content...
r18338 ? a.orig
Matt Mackall
merge: handle linear update to symlink correctly (issue3316)...
r16255
Update to link with local change should cause a merge prompt (issue3200):
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ hg up -Cq 0
Matt Mackall
merge: handle linear update to symlink correctly (issue3316)...
r16255 $ echo data > a
$ HGMERGE= hg up -y --debug
searching for copies back to rev 2
resolving manifests
Siddharth Agarwal
manifestmerge: pass in branchmerge and force separately...
r18605 branchmerge: False, force: False, partial: False
Matt Mackall
merge: handle linear update to symlink correctly (issue3316)...
r16255 ancestor: c334dc3be0da, local: c334dc3be0da+, remote: 521a1e40188f
Mads Kiilerich
merge: change debug logging - test output changes but no real changes...
r21391 preserving a for resolve of a
Siddharth Agarwal
merge.mergestate: perform all premerges before any merges (BC)...
r26618 a: versions differ -> m (premerge)
Thomas Arendsen Hein
test-merge-types: allow different output with existing hgmerge (issue3346)...
r16355 (couldn't find merge tool hgmerge|tool hgmerge can't handle symlinks) (re)
Siddharth Agarwal
filemerge: add debug output for whether this is a change/delete conflict...
r27161 picked tool ':prompt' for a (binary False symlink True changedelete False)
Martin von Zweigbergk
filemerge: remove leading space from " no tool found..."...
r26967 no tool found to merge a
Siddharth Agarwal
filemerge: default regular prompts to 'leave unresolved' (BC)...
r27164 keep (l)ocal, take (o)ther, or leave (u)nresolved? u
0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges
Pierre-Yves David
update: warn about other topological heads on bare update...
r28029 1 other heads for branch "default"
Siddharth Agarwal
filemerge: default regular prompts to 'leave unresolved' (BC)...
r27164 [1]
Matt Mackall
merge: handle linear update to symlink correctly (issue3316)...
r16255 $ hg diff --git
diff --git a/a b/a
old mode 120000
new mode 100644
--- a/a
+++ b/a
@@ -1,1 +1,1 @@
-symlink
\ No newline at end of file
+data
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 Test only 'l' change - happens rarely, except when recovering from situations
where that was what happened.
$ hg init test2
$ cd test2
$ printf base > f
$ hg ci -Aqm0
$ echo file > f
$ echo content >> f
$ hg ci -qm1
$ hg up -qr0
$ rm f
$ ln -s base f
$ hg ci -qm2
$ hg merge
Mads Kiilerich
merge: merge file flags together with file content...
r18338 merging f
Mads Kiilerich
filemerge: switch the default name for internal tools from internal:x to :x
r22707 warning: internal :merge cannot merge symlinks for f
Siddharth Agarwal
simplemerge: move conflict warning message to filemerge...
r26614 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
Mads Kiilerich
merge: merge file flags together with file content...
r18338 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
[1]
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ tellmeabout f
f is a symlink:
Mads Kiilerich
merge: merge file flags together with file content...
r18338 f -> base
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337
$ hg up -Cqr1
$ hg merge
Mads Kiilerich
merge: merge file flags together with file content...
r18338 merging f
Mads Kiilerich
filemerge: switch the default name for internal tools from internal:x to :x
r22707 warning: internal :merge cannot merge symlinks for f
Siddharth Agarwal
simplemerge: move conflict warning message to filemerge...
r26614 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
Mads Kiilerich
merge: merge file flags together with file content...
r18338 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
[1]
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ tellmeabout f
f is a plain file with content:
file
content
$ cd ..
Test removed 'x' flag merged with change to symlink
$ hg init test3
$ cd test3
$ echo f > f
$ chmod +x f
$ hg ci -Aqm0
$ chmod -x f
$ hg ci -qm1
$ hg up -qr0
$ rm f
$ ln -s dangling f
$ hg ci -qm2
$ hg merge
Mads Kiilerich
merge: merge file flags together with file content...
r18338 merging f
Mads Kiilerich
filemerge: switch the default name for internal tools from internal:x to :x
r22707 warning: internal :merge cannot merge symlinks for f
Siddharth Agarwal
simplemerge: move conflict warning message to filemerge...
r26614 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
Mads Kiilerich
merge: merge file flags together with file content...
r18338 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
[1]
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ tellmeabout f
f is a symlink:
f -> dangling
$ hg up -Cqr1
$ hg merge
Mads Kiilerich
merge: merge file flags together with file content...
r18338 merging f
Mads Kiilerich
filemerge: switch the default name for internal tools from internal:x to :x
r22707 warning: internal :merge cannot merge symlinks for f
Siddharth Agarwal
simplemerge: move conflict warning message to filemerge...
r26614 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
Mads Kiilerich
merge: merge file flags together with file content...
r18338 0 files updated, 0 files merged, 0 files removed, 1 files unresolved
use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
[1]
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ tellmeabout f
Mads Kiilerich
merge: merge file flags together with file content...
r18338 f is a plain file with content:
f
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337
Mads Kiilerich
merge: fix UnboundLocalError (issue3791)...
r18505 Test removed 'x' flag merged with content change - both ways
$ hg up -Cqr0
$ echo change > f
$ hg ci -qm3
$ hg merge -r1
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
(branch merge, don't forget to commit)
$ tellmeabout f
f is a plain file with content:
change
$ hg up -qCr1
$ hg merge -r3
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
(branch merge, don't forget to commit)
$ tellmeabout f
f is a plain file with content:
change
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ cd ..
Test merge with no common ancestor:
a: just different
b: x vs -, different (cannot calculate x, cannot ask merge tool)
c: x vs -, same (cannot calculate x, merge tool is no good)
d: x vs l, different
e: x vs l, same
f: - vs l, different
g: - vs l, same
h: l vs l, different
(where same means the filelog entry is shared and there thus is an ancestor!)
$ hg init test4
$ cd test4
$ echo 0 > 0
$ hg ci -Aqm0
$ echo 1 > a
$ echo 1 > b
$ chmod +x b
$ echo x > c
$ chmod +x c
$ echo 1 > d
$ chmod +x d
$ printf x > e
$ chmod +x e
$ echo 1 > f
$ printf x > g
$ ln -s 1 h
$ hg ci -qAm1
$ hg up -qr0
$ echo 2 > a
$ echo 2 > b
$ echo x > c
$ ln -s 2 d
$ ln -s x e
$ ln -s 2 f
$ ln -s x g
$ ln -s 2 h
$ hg ci -Aqm2
$ hg merge
merging a
Mads Kiilerich
merge: merge file flags together with file content...
r18338 warning: cannot merge flags for b
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 merging b
Mads Kiilerich
merge: use ancestor filename from planning phase instead of filectx ancestor...
r20897 warning: cannot merge flags for c
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 merging d
Mads Kiilerich
filemerge: switch the default name for internal tools from internal:x to :x
r22707 warning: internal :merge cannot merge symlinks for d
Siddharth Agarwal
simplemerge: move conflict warning message to filemerge...
r26614 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 merging f
Mads Kiilerich
filemerge: switch the default name for internal tools from internal:x to :x
r22707 warning: internal :merge cannot merge symlinks for f
Siddharth Agarwal
simplemerge: move conflict warning message to filemerge...
r26614 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 merging h
Mads Kiilerich
filemerge: switch the default name for internal tools from internal:x to :x
r22707 warning: internal :merge cannot merge symlinks for h
Siddharth Agarwal
simplemerge: move conflict warning message to filemerge...
r26614 warning: conflicts while merging h! (edit, then use 'hg resolve --mark')
Siddharth Agarwal
merge.mergestate: perform all premerges before any merges (BC)...
r26618 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
Mads Kiilerich
merge: merge file flags together with file content...
r18338 3 files updated, 0 files merged, 0 files removed, 5 files unresolved
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
[1]
$ hg resolve -l
U a
U b
U d
U f
U h
$ tellmeabout a
a is a plain file with content:
Pierre-Yves David
merge: drop the quotes around commit description...
r21693 <<<<<<< local: 0139c5610547 - test: 2
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 2
=======
1
Pierre-Yves David
merge: drop the quotes around commit description...
r21693 >>>>>>> other: 97e29675e796 - test: 1
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ tellmeabout b
Mads Kiilerich
merge: merge file flags together with file content...
r18338 b is a plain file with content:
Pierre-Yves David
merge: drop the quotes around commit description...
r21693 <<<<<<< local: 0139c5610547 - test: 2
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 2
=======
1
Pierre-Yves David
merge: drop the quotes around commit description...
r21693 >>>>>>> other: 97e29675e796 - test: 1
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ tellmeabout c
Mads Kiilerich
merge: merge file flags together with file content...
r18338 c is a plain file with content:
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 x
$ tellmeabout d
Mads Kiilerich
merge: merge file flags together with file content...
r18338 d is a symlink:
d -> 2
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ tellmeabout e
Mads Kiilerich
merge: merge file flags together with file content...
r18338 e is a symlink:
e -> x
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ tellmeabout f
f is a symlink:
f -> 2
$ tellmeabout g
g is a symlink:
g -> x
$ tellmeabout h
h is a symlink:
h -> 2
$ hg up -Cqr1
$ hg merge
merging a
Mads Kiilerich
merge: merge file flags together with file content...
r18338 warning: cannot merge flags for b
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 merging b
Mads Kiilerich
merge: use ancestor filename from planning phase instead of filectx ancestor...
r20897 warning: cannot merge flags for c
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 merging d
Mads Kiilerich
filemerge: switch the default name for internal tools from internal:x to :x
r22707 warning: internal :merge cannot merge symlinks for d
Siddharth Agarwal
simplemerge: move conflict warning message to filemerge...
r26614 warning: conflicts while merging d! (edit, then use 'hg resolve --mark')
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 merging f
Mads Kiilerich
filemerge: switch the default name for internal tools from internal:x to :x
r22707 warning: internal :merge cannot merge symlinks for f
Siddharth Agarwal
simplemerge: move conflict warning message to filemerge...
r26614 warning: conflicts while merging f! (edit, then use 'hg resolve --mark')
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 merging h
Mads Kiilerich
filemerge: switch the default name for internal tools from internal:x to :x
r22707 warning: internal :merge cannot merge symlinks for h
Siddharth Agarwal
simplemerge: move conflict warning message to filemerge...
r26614 warning: conflicts while merging h! (edit, then use 'hg resolve --mark')
Siddharth Agarwal
merge.mergestate: perform all premerges before any merges (BC)...
r26618 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
warning: conflicts while merging b! (edit, then use 'hg resolve --mark')
Mads Kiilerich
merge: merge file flags together with file content...
r18338 3 files updated, 0 files merged, 0 files removed, 5 files unresolved
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 use 'hg resolve' to retry unresolved file merges or 'hg update -C .' to abandon
[1]
$ tellmeabout a
a is a plain file with content:
Pierre-Yves David
merge: drop the quotes around commit description...
r21693 <<<<<<< local: 97e29675e796 - test: 1
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 1
=======
2
Pierre-Yves David
merge: drop the quotes around commit description...
r21693 >>>>>>> other: 0139c5610547 - test: 2
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ tellmeabout b
b is an executable file with content:
Pierre-Yves David
merge: drop the quotes around commit description...
r21693 <<<<<<< local: 97e29675e796 - test: 1
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 1
=======
2
Pierre-Yves David
merge: drop the quotes around commit description...
r21693 >>>>>>> other: 0139c5610547 - test: 2
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 $ tellmeabout c
Mads Kiilerich
merge: use ancestor filename from planning phase instead of filectx ancestor...
r20897 c is an executable file with content:
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 x
$ tellmeabout d
Mads Kiilerich
merge: merge file flags together with file content...
r18338 d is an executable file with content:
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 1
$ tellmeabout e
Mads Kiilerich
merge: merge file flags together with file content...
r18338 e is an executable file with content:
Mads Kiilerich
tests: better test coverage of merges of flags...
r18337 x (no-eol)
$ tellmeabout f
f is a plain file with content:
1
$ tellmeabout g
g is a plain file with content:
x (no-eol)
$ tellmeabout h
h is a symlink:
h -> 1
$ cd ..