##// END OF EJS Templates
debug: add newlines at the end of three locations that appear to need it...
Kyle Lippincott -
r35482:7906354c default
parent child Browse files
Show More
@@ -632,7 +632,7 b' def email(ui, repo, *revs, **opts):'
632 # check if revision exist on the public destination
632 # check if revision exist on the public destination
633 publicurl = repo.ui.config('patchbomb', 'publicurl')
633 publicurl = repo.ui.config('patchbomb', 'publicurl')
634 if publicurl:
634 if publicurl:
635 repo.ui.debug('checking that revision exist in the public repo')
635 repo.ui.debug('checking that revision exist in the public repo\n')
636 try:
636 try:
637 publicpeer = hg.peer(repo, {}, publicurl)
637 publicpeer = hg.peer(repo, {}, publicurl)
638 except error.RepoError:
638 except error.RepoError:
@@ -640,7 +640,7 b' def email(ui, repo, *revs, **opts):'
640 % publicurl)
640 % publicurl)
641 raise
641 raise
642 if not publicpeer.capable('known'):
642 if not publicpeer.capable('known'):
643 repo.ui.debug('skipping existence checks: public repo too old')
643 repo.ui.debug('skipping existence checks: public repo too old\n')
644 else:
644 else:
645 out = [repo[r] for r in revs]
645 out = [repo[r] for r in revs]
646 known = publicpeer.known(h.node() for h in out)
646 known = publicpeer.known(h.node() for h in out)
@@ -2056,7 +2056,7 b' def handleobsmarker(op, inpart):'
2056 # The mergemarkers call will crash if marker creation is not enabled.
2056 # The mergemarkers call will crash if marker creation is not enabled.
2057 # we want to avoid this if the part is advisory.
2057 # we want to avoid this if the part is advisory.
2058 if not inpart.mandatory and op.repo.obsstore.readonly:
2058 if not inpart.mandatory and op.repo.obsstore.readonly:
2059 op.repo.ui.debug('ignoring obsolescence markers, feature not enabled')
2059 op.repo.ui.debug('ignoring obsolescence markers, feature not enabled\n')
2060 return
2060 return
2061 new = op.repo.obsstore.mergemarkers(tr, markerdata)
2061 new = op.repo.obsstore.mergemarkers(tr, markerdata)
2062 op.repo.invalidatevolatilesets()
2062 op.repo.invalidatevolatilesets()
@@ -451,7 +451,7 b' class cmdalias(object):'
451 return m.group()
451 return m.group()
452 else:
452 else:
453 ui.debug("No argument found for substitution "
453 ui.debug("No argument found for substitution "
454 "of %i variable in alias '%s' definition."
454 "of %i variable in alias '%s' definition.\n"
455 % (int(m.groups()[0]), self.name))
455 % (int(m.groups()[0]), self.name))
456 return ''
456 return ''
457 cmd = re.sub(br'\$(\d+|\$)', _checkvar, self.definition[1:])
457 cmd = re.sub(br'\$(\d+|\$)', _checkvar, self.definition[1:])
General Comments 0
You need to be logged in to leave comments. Login now