Show More
@@ -213,7 +213,9 b' def manifestmerge(repo, p1, p2, pa, over' | |||||
213 | else: # case 4,21 A/B/B |
|
213 | else: # case 4,21 A/B/B | |
214 | act("local moved to " + f2, "m", |
|
214 | act("local moved to " + f2, "m", | |
215 | f, f2, f, fmerge(f, f2, f2), False) |
|
215 | f, f2, f, fmerge(f, f2, f2), False) | |
216 | elif f in ma and not n[20:]: |
|
216 | elif n[20:] == "a": # added, no remote | |
|
217 | act("remote deleted", "f", f) | |||
|
218 | elif f in ma: # clean, a different, no remote | |||
217 | if n != ma[f]: |
|
219 | if n != ma[f]: | |
218 | if repo.ui.prompt( |
|
220 | if repo.ui.prompt( | |
219 | _(" local changed %s which remote deleted\n" |
|
221 | _(" local changed %s which remote deleted\n" | |
@@ -222,10 +224,8 b' def manifestmerge(repo, p1, p2, pa, over' | |||||
222 | act("prompt delete", "r", f) |
|
224 | act("prompt delete", "r", f) | |
223 | else: |
|
225 | else: | |
224 | act("prompt keep", "a", f) |
|
226 | act("prompt keep", "a", f) | |
225 |
el |
|
227 | elif n[20:] != "u": | |
226 | act("other deleted", "r", f) |
|
228 | act("other deleted", "r", f) | |
227 | elif n[20:] == "a": # only forget locally-added |
|
|||
228 | act("remote deleted", "f", f) |
|
|||
229 | else: |
|
229 | else: | |
230 | # file is created on branch or in working directory |
|
230 | # file is created on branch or in working directory | |
231 | if (overwrite and n[20:] != "u") or (backwards and not n[20:]): |
|
231 | if (overwrite and n[20:] != "u") or (backwards and not n[20:]): |
General Comments 0
You need to be logged in to leave comments.
Login now