Show More
@@ -30,7 +30,7 b' def filemerge(repo, fw, fo, wctx, mctx):' | |||
|
30 | 30 | fco = mctx.filectx(fo) |
|
31 | 31 | |
|
32 | 32 | if not fco.cmp(fcm.data()): # files identical? |
|
33 |
return |
|
|
33 | return None | |
|
34 | 34 | |
|
35 | 35 | fca = fcm.ancestor(fco) |
|
36 | 36 | if not fca: |
@@ -288,10 +288,14 b' def applyupdates(repo, action, wctx, mct' | |||
|
288 | 288 | removed +=1 |
|
289 | 289 | elif m == "m": # merge |
|
290 | 290 | f2, fd, flag, move = a[2:] |
|
291 |
|
|
|
291 | r = filemerge(repo, f, f2, wctx, mctx) | |
|
292 | if r > 0: | |
|
292 | 293 | unresolved += 1 |
|
293 | 294 | else: |
|
294 |
|
|
|
295 | if r is None: | |
|
296 | updated += 1 | |
|
297 | else: | |
|
298 | merged += 1 | |
|
295 | 299 | if f != fd: |
|
296 | 300 | repo.ui.debug(_("copying %s to %s\n") % (f, fd)) |
|
297 | 301 | repo.wwrite(fd, repo.wread(f)) |
@@ -11,7 +11,7 b' 1 files updated, 0 files merged, 0 files' | |||
|
11 | 11 | ? file1.orig |
|
12 | 12 | 016807e6fdaf tip |
|
13 | 13 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
14 |
|
|
|
14 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
15 | 15 | ? file1.orig |
|
16 | 16 | 016807e6fdaf tip |
|
17 | 17 | ? file1.orig |
@@ -1,6 +1,6 b'' | |||
|
1 | 1 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
2 | 2 | %% no merges expected |
|
3 |
|
|
|
3 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
4 | 4 | (branch merge, don't forget to commit) |
|
5 | 5 | diff -r d9e5953b9dec b |
|
6 | 6 | --- /dev/null |
@@ -29,7 +29,7 b' This is file b1' | |||
|
29 | 29 | %% merge fails |
|
30 | 30 | abort: outstanding uncommitted changes |
|
31 | 31 | %% merge expected! |
|
32 |
|
|
|
32 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
33 | 33 | (branch merge, don't forget to commit) |
|
34 | 34 | diff -r c1dd73cbf59f b |
|
35 | 35 | --- a/b |
@@ -92,7 +92,7 b' resolving manifests' | |||
|
92 | 92 | copying a to b |
|
93 | 93 | merging rev |
|
94 | 94 | my rev@94b33a1b7f2d+ other rev@735846fee2d7 ancestor rev@924404dff337 |
|
95 |
|
|
|
95 | 1 files updated, 1 files merged, 0 files removed, 0 files unresolved | |
|
96 | 96 | (branch merge, don't forget to commit) |
|
97 | 97 | -------------- |
|
98 | 98 | M b |
@@ -110,7 +110,7 b' resolving manifests' | |||
|
110 | 110 | rev: versions differ -> m |
|
111 | 111 | merging rev |
|
112 | 112 | my rev@ac809aeed39a+ other rev@97c705ade336 ancestor rev@924404dff337 |
|
113 |
|
|
|
113 | 1 files updated, 1 files merged, 0 files removed, 0 files unresolved | |
|
114 | 114 | (branch merge, don't forget to commit) |
|
115 | 115 | -------------- |
|
116 | 116 | M b |
@@ -130,7 +130,7 b' copying a to b' | |||
|
130 | 130 | removing a |
|
131 | 131 | merging rev |
|
132 | 132 | my rev@94b33a1b7f2d+ other rev@e03727d2d66b ancestor rev@924404dff337 |
|
133 |
|
|
|
133 | 1 files updated, 1 files merged, 0 files removed, 0 files unresolved | |
|
134 | 134 | (branch merge, don't forget to commit) |
|
135 | 135 | -------------- |
|
136 | 136 | M b |
@@ -147,7 +147,7 b' resolving manifests' | |||
|
147 | 147 | rev: versions differ -> m |
|
148 | 148 | merging rev |
|
149 | 149 | my rev@ecf3cb2a4219+ other rev@97c705ade336 ancestor rev@924404dff337 |
|
150 |
|
|
|
150 | 1 files updated, 1 files merged, 0 files removed, 0 files unresolved | |
|
151 | 151 | (branch merge, don't forget to commit) |
|
152 | 152 | -------------- |
|
153 | 153 | M b |
General Comments 0
You need to be logged in to leave comments.
Login now