~bloodearnest/juju-deployer/annotate-branches

« back to all changes in this revision

Viewing changes to deployer/charm.py

  • Committer: Kapil Thangavelu
  • Date: 2014-09-29 14:37:20 UTC
  • mfrom: (125.1.3 tvan-fix-git)
  • Revision ID: kapil@canonical.com-20140929143720-3e06t8s0v7r1x9pt
merge tvan-fix-git and incr rev

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
                or os.path.exists(os.path.join(self.branch, '.bzr')) \
40
40
                or self.branch.startswith('file:'):
41
41
            return Bzr(self.path, self.branch, self.log)
 
42
        raise ValueError(
 
43
            "Could not determine vcs backend for %s" % self.branch)
42
44
 
43
45
    @classmethod
44
46
    def from_service(cls, name, repo_path, deploy_series, data):