Show More
@@ -388,9 +388,14 b' def manifestmerge(repo, wctx, p2, pa, br' | |||||
388 | if partial and not partial(f): |
|
388 | if partial and not partial(f): | |
389 | continue |
|
389 | continue | |
390 | if n1 and n2: |
|
390 | if n1 and n2: | |
391 |
f |
|
391 | fa = f | |
|
392 | a = ma.get(f, nullid) | |||
|
393 | if a == nullid: | |||
|
394 | fa = copy.get(f, f) | |||
|
395 | # Note: f as default is wrong - we can't really make a 3-way | |||
|
396 | # merge without an ancestor file. | |||
|
397 | fla = ma.flags(fa) | |||
392 | nol = 'l' not in fl1 + fl2 + fla |
|
398 | nol = 'l' not in fl1 + fl2 + fla | |
393 | a = ma.get(f, nullid) |
|
|||
394 | if n2 == a and fl2 == fla: |
|
399 | if n2 == a and fl2 == fla: | |
395 | pass # remote unchanged - keep local |
|
400 | pass # remote unchanged - keep local | |
396 | elif n1 == a and fl1 == fla: # local unchanged - use remote |
|
401 | elif n1 == a and fl1 == fla: # local unchanged - use remote |
General Comments 0
You need to be logged in to leave comments.
Login now