Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • mergebot/trunk/mergebot/CheckMergeActor.py

    r24 r17  
    2828
    2929        # Make sure the various urls we require do exist
    30         problems = self.check_required_directories()
    31         if problems:
    32             return results, problems, False
     30        if not SvnOps.get_branch_info(self.local_url(), logfile):
     31            comment = 'Component %s does not exist in the repository.' \
     32                % self.component
     33            return results, comment, False
     34        if not SvnOps.get_branch_info(self.local_url() + '/branches', logfile):
     35            comment = 'No directory in which to create branches for ' \
     36                'component %s in the repository.' % self.component
     37            return results, comment, False
     38        if not SvnOps.get_branch_info(self.baseline_local_url(), logfile):
     39            comment = 'Version %s for component %s does not exist in the ' \
     40                'repository.' % (self.version, self.component)
     41            return results, comment, False
    3342
    3443        branch_info = SvnOps.get_branch_info(self.branch_local_url(), logfile)
Note: See TracChangeset for help on using the changeset viewer.