Ignore:
Timestamp:
Sep 24, 2009 10:25:38 PM (15 years ago)
Author:
retracile
Message:

Ticket #2: merge to trunk

File:
1 edited

Legend:

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

    r17 r24  
    3636
    3737        # Make sure the various urls we require do exist
    38         if not SvnOps.get_branch_info(self.local_url(), logfile):
    39             comment = 'Component %s does not exist in the repository.' \
    40                 % self.component
    41             return results, comment, False
    42         if not SvnOps.get_branch_info(self.local_url() + '/branches', logfile):
    43             comment = 'No directory in which to create branches for ' \
    44                 'component %s in the repository.' % self.component
    45             return results, comment, False
    46         if not SvnOps.get_branch_info(self.baseline_local_url(), logfile):
    47             comment = 'Version %s for component %s does not exist in the ' \
    48                 'repository.' % (self.version, self.component)
    49             return results, comment, False
     38        problems = self.check_required_directories()
     39        if problems:
     40            return results, problems, False
    5041
    5142        rev_info = SvnOps.get_branch_info(self.branch_local_url(), logfile)
Note: See TracChangeset for help on using the changeset viewer.