on master help sign in
bold merge strategies
a1f2f86drbeefsupreme
arvo/clay/using.md+11−11
@@ -93,45 +93,45 @@ Several strategies need a "merge-base". They find it by identifying
93the most recent common ancestor of the two desks. If none, fail
93the most recent common ancestor of the two desks. If none, fail
94with `%merge-no-merge-base`; if there are two or more, pick one.
94with `%merge-no-merge-base`; if there are two or more, pick one.
95
95
96−`%init`: the only way to create a desk. Not a true merge, since it
96+**`%init`**: the only way to create a desk. Not a true merge, since it
97simply assigns the source commit to the destination.
97simply assigns the source commit to the destination.
98
98
99−`%fine`: if source or destination are in the ancestry of each other,
99+**`%fine`**: if source or destination are in the ancestry of each other,
100use the newer one; else abort. If the destination is ahead of the
100use the newer one; else abort. If the destination is ahead of the
101source, succeed but do nothing. If the source is ahead of the
101source, succeed but do nothing. If the source is ahead of the
102destination, assign the next revision number to the source commit.
102destination, assign the next revision number to the source commit.
103Some call this "fast-forward".
103Some call this "fast-forward".
104
104
105−`%meet`: combine changes, failing if both sides changed the same file.
105+**`%meet`**: combine changes, failing if both sides changed the same file.
106Specifically, take diff(merge-base,source) and
106Specifically, take diff(merge-base,source) and
107diff(merge-base,destination) and combine them as long as those diffs
107diff(merge-base,destination) and combine them as long as those diffs
108touch different files.
108touch different files.
109
109
110−`%mate`: combine changes, failing if both sides changed the same part
110+**`%mate`**: combine changes, failing if both sides changed the same part
111of a file. Identical to `%meet`, except that some marks, like `%hoon`,
111of a file. Identical to `%meet`, except that some marks, like `%hoon`,
112allow intelligent merge of changes to different parts of a file.
112allow intelligent merge of changes to different parts of a file.
113
113
114−`%meld`: combine changes; if both sides changed the same part of a
114+**`%meld`**: combine changes; if both sides changed the same part of a
115file, use the version of the file in the merge-base.
115file, use the version of the file in the merge-base.
116
116
117−`%only-this`: create a merge commit with exactly the contents of the
117+**`%only-this`**: create a merge commit with exactly the contents of the
118destination desk.
118destination desk.
119
119
120−`%only-that`: create a merge commit with exactly the contents of the
120+**`%only-that`**: create a merge commit with exactly the contents of the
121source commit.
121source commit.
122
122
123−`%take-this`: create a merge commit with exactly the contents of the
123+**`%take-this`**: create a merge commit with exactly the contents of the
124destination desk except take any files from the source commit which
124destination desk except take any files from the source commit which
125are not in the destination desk.
125are not in the destination desk.
126
126
127−`%take-that`: create a merge commit with exactly the contents of the
127+**`%take-that`**: create a merge commit with exactly the contents of the
128source commit except preserve any files from the destination desk
128source commit except preserve any files from the destination desk
129which are not in the source commit.
129which are not in the source commit.
130
130
131−`%meet-this`: merge as in `%meet`, except if both sides changed the same
131+**`%meet-this`**: merge as in `%meet`, except if both sides changed the same
132file, use the version in the destination desk.
132file, use the version in the destination desk.
133
133
134−`%meet-that`: merge as in `%meet`, except if both sides changed the same
134+**`%meet-that`**: merge as in `%meet`, except if both sides changed the same
135file, use the version in the source commit.
135file, use the version in the source commit.
136
136
137#### Examples and notes:
137#### Examples and notes: