Changes in mergebot/trunk/mergebot/MergeActor.py [24:17]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mergebot/trunk/mergebot/MergeActor.py
r24 r17 26 26 27 27 # Make sure the various urls we require do exist 28 problems = self.check_required_directories() 29 if problems: 30 return results, problems, False 28 if not SvnOps.get_branch_info(self.local_url(), logfile): 29 comment = 'Component %s does not exist in the repository.' \ 30 % self.component 31 return results, comment, False 32 if not SvnOps.get_branch_info(self.local_url() + '/branches', logfile): 33 comment = 'No directory in which to create branches for component %s in the repository.' % self.component 34 return results, comment, False 35 if not SvnOps.get_branch_info(self.baseline_local_url(), logfile): 36 comment = 'Version %s for component %s does not exist in the repository.' % (self.version, self.component) 37 return results, comment, False 31 38 32 39 rev_info = SvnOps.get_branch_info(self.branch_local_url(), logfile) 33 40 if not rev_info: 34 comment = 'Branch for ticket %s does not exist in the repository.' \ 35 % (self.ticket) 41 comment = 'Branch for ticket %s does not exist in the repository.' % (self.ticket) 36 42 return results, comment, False 37 43 startrev, endrev = rev_info
Note: See TracChangeset
for help on using the changeset viewer.