##// END OF EJS Templates
merge: fix stupid indentation left over from previous refactorings
Mads Kiilerich -
r21551:bde505f4 default
parent child Browse files
Show More
@@ -567,7 +567,6 b' def batchremove(repo, actions):'
567 i = 0
567 i = 0
568 for f, args, msg in actions:
568 for f, args, msg in actions:
569 repo.ui.debug(" %s: %s -> r\n" % (f, msg))
569 repo.ui.debug(" %s: %s -> r\n" % (f, msg))
570 if True:
571 if verbose:
570 if verbose:
572 repo.ui.note(_("removing %s\n") % f)
571 repo.ui.note(_("removing %s\n") % f)
573 audit(f)
572 audit(f)
@@ -596,7 +595,6 b' def batchget(repo, mctx, actions):'
596 i = 0
595 i = 0
597 for f, args, msg in actions:
596 for f, args, msg in actions:
598 repo.ui.debug(" %s: %s -> g\n" % (f, msg))
597 repo.ui.debug(" %s: %s -> g\n" % (f, msg))
599 if True:
600 if verbose:
598 if verbose:
601 repo.ui.note(_("getting %s\n") % f)
599 repo.ui.note(_("getting %s\n") % f)
602 wwrite(f, fctx(f).data(), args[0])
600 wwrite(f, fctx(f).data(), args[0])
@@ -626,7 +624,6 b' def applyupdates(repo, actions, wctx, mc'
626
624
627 # prescan for merges
625 # prescan for merges
628 for f, args, msg in actions['m']:
626 for f, args, msg in actions['m']:
629 if True:
630 f1, f2, fa, move, anc = args
627 f1, f2, fa, move, anc = args
631 if f == '.hgsubstate': # merged internally
628 if f == '.hgsubstate': # merged internally
632 continue
629 continue
@@ -677,8 +674,6 b' def applyupdates(repo, actions, wctx, mc'
677 if [a for a in actions['g'] if a[0] == '.hgsubstate']:
674 if [a for a in actions['g'] if a[0] == '.hgsubstate']:
678 subrepo.submerge(repo, wctx, mctx, wctx, overwrite)
675 subrepo.submerge(repo, wctx, mctx, wctx, overwrite)
679
676
680 if True:
681
682 # forget (manifest only, just log it) (must come first)
677 # forget (manifest only, just log it) (must come first)
683 for f, args, msg in actions['f']:
678 for f, args, msg in actions['f']:
684 repo.ui.debug(" %s: %s -> f\n" % (f, msg))
679 repo.ui.debug(" %s: %s -> f\n" % (f, msg))
@@ -848,7 +843,6 b' def calculateupdates(repo, wctx, mctx, a'
848 repo.ui.note(_('end of auction\n\n'))
843 repo.ui.note(_('end of auction\n\n'))
849
844
850 # Prompt and create actions. TODO: Move this towards resolve phase.
845 # Prompt and create actions. TODO: Move this towards resolve phase.
851 if True:
852 for f, args, msg in actions['cd']:
846 for f, args, msg in actions['cd']:
853 if repo.ui.promptchoice(
847 if repo.ui.promptchoice(
854 _("local changed %s which remote deleted\n"
848 _("local changed %s which remote deleted\n"
@@ -877,7 +871,6 b' def calculateupdates(repo, wctx, mctx, a'
877
871
878 def recordupdates(repo, actions, branchmerge):
872 def recordupdates(repo, actions, branchmerge):
879 "record merge actions to the dirstate"
873 "record merge actions to the dirstate"
880 if True:
881 # remove (must come first)
874 # remove (must come first)
882 for f, args, msg in actions['r']:
875 for f, args, msg in actions['r']:
883 if branchmerge:
876 if branchmerge:
General Comments 0
You need to be logged in to leave comments. Login now