Ticket #403: bzr.patch
| File bzr.patch, 1008 bytes (added by jrabbit, 5 years ago) |
|---|
-
haikuporter
515 515 516 516 for src_uri in self.bepKeys['SRC_URI']: 517 517 # Examine the uri to determine if we need to perform a checkout instead of download 518 if re.match('^cvs.*$|^svn.*$|^hg.*$|^git.*$ ', src_uri):518 if re.match('^cvs.*$|^svn.*$|^hg.*$|^git.*$|^bzr.*$', src_uri): 519 519 self.checkoutSource(src_uri) 520 520 return 521 521 … … 608 608 checkoutCommand += " -r " + rev 609 609 checkoutCommand += " " + real_uri + " " + checkoutDir 610 610 611 elif type == 'bzr': 612 #http://doc.bazaar.canonical.com/bzr-0.10/bzr_man.htm#bzr-branch-from-location-to-location 613 checkoutCommand = "bzr branch --lightweight" 614 if rev: 615 checkoutCommand += " -r " + rev 616 checkoutCommand += " " + real_uri + " " + checkoutDir 617 611 618 else: 612 619 #TODO Skip the initial checkout if a rev is specified? 613 620 checkoutCommand = "git clone " + real_uri + " " + checkoutDir
