Show More
@@ -795,25 +795,6 b' def applyupdates(repo, actions, wctx, mc' | |||
|
795 | 795 | repo.ui.debug(" %s: %s -> k\n" % (f, msg)) |
|
796 | 796 | # no progress |
|
797 | 797 | |
|
798 | # merge | |
|
799 | for f, args, msg in actions['m']: | |
|
800 | repo.ui.debug(" %s: %s -> m\n" % (f, msg)) | |
|
801 | z += 1 | |
|
802 | progress(_updating, z, item=f, total=numupdates, unit=_files) | |
|
803 | if f == '.hgsubstate': # subrepo states need updating | |
|
804 | subrepo.submerge(repo, wctx, mctx, wctx.ancestor(mctx), | |
|
805 | overwrite) | |
|
806 | continue | |
|
807 | audit(f) | |
|
808 | r = ms.resolve(f, wctx, labels=labels) | |
|
809 | if r is not None and r > 0: | |
|
810 | unresolved += 1 | |
|
811 | else: | |
|
812 | if r is None: | |
|
813 | updated += 1 | |
|
814 | else: | |
|
815 | merged += 1 | |
|
816 | ||
|
817 | 798 | # directory rename, move local |
|
818 | 799 | for f, args, msg in actions['dm']: |
|
819 | 800 | repo.ui.debug(" %s: %s -> dm\n" % (f, msg)) |
@@ -846,6 +827,25 b' def applyupdates(repo, actions, wctx, mc' | |||
|
846 | 827 | util.setflags(repo.wjoin(f), 'l' in flags, 'x' in flags) |
|
847 | 828 | updated += 1 |
|
848 | 829 | |
|
830 | # merge | |
|
831 | for f, args, msg in actions['m']: | |
|
832 | repo.ui.debug(" %s: %s -> m\n" % (f, msg)) | |
|
833 | z += 1 | |
|
834 | progress(_updating, z, item=f, total=numupdates, unit=_files) | |
|
835 | if f == '.hgsubstate': # subrepo states need updating | |
|
836 | subrepo.submerge(repo, wctx, mctx, wctx.ancestor(mctx), | |
|
837 | overwrite) | |
|
838 | continue | |
|
839 | audit(f) | |
|
840 | r = ms.resolve(f, wctx, labels=labels) | |
|
841 | if r is not None and r > 0: | |
|
842 | unresolved += 1 | |
|
843 | else: | |
|
844 | if r is None: | |
|
845 | updated += 1 | |
|
846 | else: | |
|
847 | merged += 1 | |
|
848 | ||
|
849 | 849 | ms.commit() |
|
850 | 850 | progress(_updating, None, total=numupdates, unit=_files) |
|
851 | 851 |
General Comments 0
You need to be logged in to leave comments.
Login now