Show More
@@ -730,6 +730,10 b' def calculateupdates(repo, wctx, mctx, a' | |||||
730 | partial, acceptremote, followcopies) |
|
730 | partial, acceptremote, followcopies) | |
731 |
|
731 | |||
732 | else: # only when merge.preferancestor=* - experimentalish code |
|
732 | else: # only when merge.preferancestor=* - experimentalish code | |
|
733 | repo.ui.status( | |||
|
734 | _("note: merging %s and %s using bids from ancestors %s\n") % | |||
|
735 | (wctx, mctx, _(' and ').join(str(anc) for anc in ancestors))) | |||
|
736 | ||||
733 | # Call for bids |
|
737 | # Call for bids | |
734 | fbids = {} # mapping filename to list af action bids |
|
738 | fbids = {} # mapping filename to list af action bids | |
735 | for ancestor in ancestors: |
|
739 | for ancestor in ancestors: |
@@ -128,6 +128,7 b' Redo merge with merge.preferancestor="*"' | |||||
128 | $ rm f* |
|
128 | $ rm f* | |
129 | $ hg up -qC . |
|
129 | $ hg up -qC . | |
130 | $ hg merge -v --debug --tool internal:dump 5 --config merge.preferancestor="*" |
|
130 | $ hg merge -v --debug --tool internal:dump 5 --config merge.preferancestor="*" | |
|
131 | note: merging 3b08d01b0ab5+ and adfe50279922 using bids from ancestors 0f6b37dbe527 and 40663881a6dd | |||
131 |
|
132 | |||
132 | calculating bids for ancestor 0f6b37dbe527 |
|
133 | calculating bids for ancestor 0f6b37dbe527 | |
133 | searching for copies back to rev 3 |
|
134 | searching for copies back to rev 3 | |
@@ -172,6 +173,7 b' The other way around:' | |||||
172 | alternatively, use --config merge.preferancestor=40663881a6dd |
|
173 | alternatively, use --config merge.preferancestor=40663881a6dd | |
173 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
174 | 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
174 | $ hg merge -v --debug --config merge.preferancestor="*" |
|
175 | $ hg merge -v --debug --config merge.preferancestor="*" | |
|
176 | note: merging adfe50279922+ and 3b08d01b0ab5 using bids from ancestors 0f6b37dbe527 and 40663881a6dd | |||
175 |
|
177 | |||
176 | calculating bids for ancestor 0f6b37dbe527 |
|
178 | calculating bids for ancestor 0f6b37dbe527 | |
177 | searching for copies back to rev 3 |
|
179 | searching for copies back to rev 3 | |
@@ -212,11 +214,13 b' Verify how the output looks and and how ' | |||||
212 |
|
214 | |||
213 | $ hg up -qC |
|
215 | $ hg up -qC | |
214 | $ hg merge --config merge.preferancestor="*" |
|
216 | $ hg merge --config merge.preferancestor="*" | |
|
217 | note: merging 3b08d01b0ab5+ and adfe50279922 using bids from ancestors 0f6b37dbe527 and 40663881a6dd | |||
215 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
218 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
216 | (branch merge, don't forget to commit) |
|
219 | (branch merge, don't forget to commit) | |
217 |
|
220 | |||
218 | $ hg up -qC |
|
221 | $ hg up -qC | |
219 | $ hg merge -v --config merge.preferancestor="*" |
|
222 | $ hg merge -v --config merge.preferancestor="*" | |
|
223 | note: merging 3b08d01b0ab5+ and adfe50279922 using bids from ancestors 0f6b37dbe527 and 40663881a6dd | |||
220 |
|
224 | |||
221 | calculating bids for ancestor 0f6b37dbe527 |
|
225 | calculating bids for ancestor 0f6b37dbe527 | |
222 | resolving manifests |
|
226 | resolving manifests | |
@@ -235,6 +239,7 b' Verify how the output looks and and how ' | |||||
235 |
|
239 | |||
236 | $ hg up -qC |
|
240 | $ hg up -qC | |
237 | $ hg merge -v --debug --config merge.preferancestor="*" |
|
241 | $ hg merge -v --debug --config merge.preferancestor="*" | |
|
242 | note: merging 3b08d01b0ab5+ and adfe50279922 using bids from ancestors 0f6b37dbe527 and 40663881a6dd | |||
238 |
|
243 | |||
239 | calculating bids for ancestor 0f6b37dbe527 |
|
244 | calculating bids for ancestor 0f6b37dbe527 | |
240 | searching for copies back to rev 3 |
|
245 | searching for copies back to rev 3 | |
@@ -316,6 +321,7 b' http://stackoverflow.com/questions/93500' | |||||
316 | $ hg up -qC . |
|
321 | $ hg up -qC . | |
317 |
|
322 | |||
318 | $ hg merge -v --config merge.preferancestor="*" |
|
323 | $ hg merge -v --config merge.preferancestor="*" | |
|
324 | note: merging 0d355fdef312+ and 4b8b546a3eef using bids from ancestors 70008a2163f6 and b211bbc6eb3c | |||
319 |
|
325 | |||
320 | calculating bids for ancestor 70008a2163f6 |
|
326 | calculating bids for ancestor 70008a2163f6 | |
321 | resolving manifests |
|
327 | resolving manifests |
General Comments 0
You need to be logged in to leave comments.
Login now