Show More
@@ -196,6 +196,7 b' def manifestmerge(repo, wctx, p2, pa, br' | |||
|
196 | 196 | overwrite = force and not branchmerge |
|
197 | 197 | actions, copy, movewithdir = [], {}, {} |
|
198 | 198 | |
|
199 | followcopies = False | |
|
199 | 200 | if overwrite: |
|
200 | 201 | pa = wctx |
|
201 | 202 | elif pa == p2: # backwards |
@@ -203,6 +204,13 b' def manifestmerge(repo, wctx, p2, pa, br' | |||
|
203 | 204 | elif not branchmerge and not wctx.dirty(missing=True): |
|
204 | 205 | pass |
|
205 | 206 | elif pa and repo.ui.configbool("merge", "followcopies", True): |
|
207 | followcopies = True | |
|
208 | ||
|
209 | # manifests fetched in order are going to be faster, so prime the caches | |
|
210 | [x.manifest() for x in | |
|
211 | sorted(wctx.parents() + [p2, pa], key=lambda x: x.rev())] | |
|
212 | ||
|
213 | if followcopies: | |
|
206 | 214 | ret = copies.mergecopies(repo, wctx, p2, pa) |
|
207 | 215 | copy, movewithdir, diverge, renamedelete = ret |
|
208 | 216 | for of, fl in diverge.iteritems(): |
General Comments 0
You need to be logged in to leave comments.
Login now