Mercurial > hg
comparison tests/test-copy-move-merge.t @ 29775:978b907d9b36
merge: always use other, not remote, in user prompts
Now that we store and display merge labels in user prompts (not just
conflict markets), we should rely on labels to clarify the two sides of a
merge operation (hg merge, hg update, hg rebase etc).
"remote" is not a great name here, as it conflates "remote" as in "remote
server" with "remote" as in "the side of the merge that's further away". In
cases where you're merging the "wrong way" around, remote can even be the
"local" commit that you're merging with something pulled from the remote
server.
author | Simon Farnsworth <simonfar@fb.com> |
---|---|
date | Fri, 12 Aug 2016 05:56:40 -0700 |
parents | a7f8939641aa |
children | 3b7cb3d17137 |
comparison
equal
deleted
inserted
replaced
29774:a7f8939641aa | 29775:978b907d9b36 |
---|---|
83 $ hg up -qC 2 | 83 $ hg up -qC 2 |
84 $ hg rebase --keep -d 1 -b 2 --config extensions.rebase= --config experimental.disablecopytrace=True --config ui.interactive=True << EOF | 84 $ hg rebase --keep -d 1 -b 2 --config extensions.rebase= --config experimental.disablecopytrace=True --config ui.interactive=True << EOF |
85 > c | 85 > c |
86 > EOF | 86 > EOF |
87 rebasing 2:add3f11052fa "other" (tip) | 87 rebasing 2:add3f11052fa "other" (tip) |
88 remote [source] changed a which local [dest] deleted | 88 other [source] changed a which local [dest] deleted |
89 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? c | 89 use (c)hanged version, leave (d)eleted, or leave (u)nresolved? c |
90 | 90 |
91 $ cat b | 91 $ cat b |
92 1 | 92 1 |
93 2 | 93 2 |