~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/devscripts/ec2test/remote.py

  • Committer: Jonathan Lange
  • Date: 2010-08-16 18:06:41 UTC
  • mto: This revision was merged to the branch mainline in revision 11390.
  • Revision ID: jml@canonical.com-20100816180641-jjldmb661zj6lbwd
TestsĀ forĀ get_branch_details.

Show diffs side-by-side

added added

removed removed

Lines of Context:
312
312
        """
313
313
        tree = bzrlib.workingtree.WorkingTree.open(self._local_branch_path)
314
314
        parent_ids = tree.get_parent_ids()
315
 
        if len(parent_ids) == 1:
 
315
        if len(parent_ids) < 2:
316
316
            return None
317
317
        return self._branch_url.encode('utf-8'), self._revno
318
318