Show More
@@ -742,7 +742,8 b' def applyupdates(repo, actions, wctx, mc' | |||
|
742 | 742 | audit(f) |
|
743 | 743 | util.unlinkpath(repo.wjoin(f)) |
|
744 | 744 | |
|
745 |
numupdates = sum(len(l) for m, l in actions.items() |
|
|
745 | numupdates = sum(len(l) for m, l in actions.items() | |
|
746 | if m not in ('k', 'dr', 'rd')) | |
|
746 | 747 | |
|
747 | 748 | if [a for a in actions['r'] if a[0] == '.hgsubstate']: |
|
748 | 749 | subrepo.submerge(repo, wctx, mctx, wctx, overwrite) |
@@ -825,9 +826,6 b' def applyupdates(repo, actions, wctx, mc' | |||
|
825 | 826 | |
|
826 | 827 | # divergent renames |
|
827 | 828 | for f, args, msg in actions['dr']: |
|
828 | repo.ui.debug(" %s: %s -> dr\n" % (f, msg)) | |
|
829 | z += 1 | |
|
830 | progress(_updating, z, item=f, total=numupdates, unit=_files) | |
|
831 | 829 | fl, = args |
|
832 | 830 | repo.ui.warn(_("note: possible conflict - %s was renamed " |
|
833 | 831 | "multiple times to:\n") % f) |
@@ -836,9 +834,6 b' def applyupdates(repo, actions, wctx, mc' | |||
|
836 | 834 | |
|
837 | 835 | # rename and delete |
|
838 | 836 | for f, args, msg in actions['rd']: |
|
839 | repo.ui.debug(" %s: %s -> rd\n" % (f, msg)) | |
|
840 | z += 1 | |
|
841 | progress(_updating, z, item=f, total=numupdates, unit=_files) | |
|
842 | 837 | fl, = args |
|
843 | 838 | repo.ui.warn(_("note: possible conflict - %s was deleted " |
|
844 | 839 | "and renamed to:\n") % f) |
@@ -40,15 +40,13 b'' | |||
|
40 | 40 | removing a |
|
41 | 41 | b2: remote created -> g |
|
42 | 42 | getting b2 |
|
43 |
updating: b2 1/ |
|
|
43 | updating: b2 1/2 files (50.00%) | |
|
44 | 44 | b: remote moved from a -> m |
|
45 |
updating: b 2/ |
|
|
45 | updating: b 2/2 files (100.00%) | |
|
46 | 46 | picked tool 'internal:merge' for b (binary False symlink False) |
|
47 | 47 | merging a and b to b |
|
48 | 48 | my b@044f8520aeeb+ other b@85c198ef2f6c ancestor a@af1939970a1c |
|
49 | 49 | premerge successful |
|
50 | a2: divergent renames -> dr | |
|
51 | updating: a2 3/3 files (100.00%) | |
|
52 | 50 | note: possible conflict - a2 was renamed multiple times to: |
|
53 | 51 | c2 |
|
54 | 52 | b2 |
@@ -183,9 +181,7 b' Check for issue3074' | |||
|
183 | 181 | ancestor: 19d7f95df299, local: 0084274f6b67+, remote: 5d32493049f0 |
|
184 | 182 | newfile: remote created -> g |
|
185 | 183 | getting newfile |
|
186 |
updating: newfile 1/ |
|
|
187 | file: rename and delete -> rd | |
|
188 | updating: file 2/2 files (100.00%) | |
|
184 | updating: newfile 1/1 files (100.00%) | |
|
189 | 185 | note: possible conflict - file was deleted and renamed to: |
|
190 | 186 | newfile |
|
191 | 187 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
@@ -382,14 +382,12 b' m "um a c" "um x c" " " "10 do merg' | |||
|
382 | 382 | preserving rev for resolve of rev |
|
383 | 383 | c: remote created -> g |
|
384 | 384 | getting c |
|
385 |
updating: c 1/ |
|
|
385 | updating: c 1/2 files (50.00%) | |
|
386 | 386 | rev: versions differ -> m |
|
387 |
updating: rev 2/ |
|
|
387 | updating: rev 2/2 files (100.00%) | |
|
388 | 388 | picked tool 'python ../merge' for rev (binary False symlink False) |
|
389 | 389 | merging rev |
|
390 | 390 | my rev@02963e448370+ other rev@fe905ef2c33e ancestor rev@924404dff337 |
|
391 | a: divergent renames -> dr | |
|
392 | updating: a 3/3 files (100.00%) | |
|
393 | 391 | note: possible conflict - a was renamed multiple times to: |
|
394 | 392 | b |
|
395 | 393 | c |
General Comments 0
You need to be logged in to leave comments.
Login now