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