~oddbloke/pqm/remove-vcs-abstraction

« back to all changes in this revision

Viewing changes to pqm/__init__.py

  • Committer: Daniel Watkins
  • Date: 2008-07-02 05:21:40 UTC
  • Revision ID: d.m.watkins@warwick.ac.uk-20080702052140-0y41evg6env66fha
Removed Command.get_branch_handler and accompanying tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
426
426
        while not done:
427
427
            try:
428
428
                config_branch = '/'.join(config_segments)
429
 
                self.get_branch_handler(config_branch).make_local_dir(sender, config_branch, fullpath)
 
429
                self.get_vcs().make_local_dir(sender, config_branch, fullpath)
430
430
                done = True
431
431
            except PQMTlaFailure, e:
432
432
                if config_path == config or len(config_segments) == 1:
528
528
        self.output += ['\n', '%s succeeded at %s' % (merge_name, time.strftime('%c')), '\n']
529
529
        self.get_vcs().commit(sender, dir, self.commitmsg, to_repo_revision, config)
530
530
 
531
 
    def get_branch_handler(self, branchspec):
532
 
        return Bazaar2Handler()
533
 
 
534
531
    def get_wd(self, sender, branch, config):
535
532
        dirpath = self._make_wd_path(workdir, branch)
536
533
        commiters = config['commiters']