Changeset 452 in tailor for vcpx/tailor.py
- Timestamp:
- 07/30/05 02:55:40 (8 years ago)
- Hash name:
- 20050730005540-97f81-edbbc8a775d04189061a4ecb509351c9d2f915ae
- File:
-
- 1 edited
-
vcpx/tailor.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/tailor.py
r446 r452 114 114 self.options.source_module, 115 115 self.options.revision, 116 self.options.target_repository, 117 self.options.target_module, 116 118 self.options.subdir) 117 119 elif self.options.migrate: … … 289 291 290 292 def bootstrap(self, source_kind, target_kind, 291 source_repository, source_module, revision, subdir): 293 source_repository, source_module, revision, 294 target_repository, target_module, subdir): 292 295 """ 293 296 Bootstrap a new tailorized module. 297 298 First of all prepare the target system working directory such that 299 it can host the upstream source tree. This is backend specific. 294 300 295 301 Extract a copy of the ``repository`` at given ``revision`` in the … … 320 326 self.logger.info("getting %s revision '%s' of '%s' from '%s'" % ( 321 327 source_kind, revision, source_module, source_repository)) 328 329 try: 330 dwd.prepareWorkingDirectory(self.root, 331 target_repository, target_module) 332 except: 333 self.logger.exception('Cannot prepare working directory!') 334 raise 322 335 323 336 try: … … 543 556 "backends.", 544 557 default="HEAD"), 558 make_option("-T", "--target-repository", 559 dest="target_repository", metavar="REPOS", default=None, 560 help="Specify the target repository, the one that will " 561 "receive the patches coming from the source one."), 562 make_option("-M", "--target-module", dest="target_module", 563 metavar="MODULE", 564 help="Specify the module on the target repository that will " 565 "actually contain the upstream source tree."), 545 566 make_option("--subdir", metavar="DIR", 546 567 help="Force the subdirectory where the checkout will happen, " … … 663 684 options.source_module, 664 685 options.revision, 686 options.target_repository, 687 options.target_module, 665 688 options.subdir) 666 689 elif options.update:
Note: See TracChangeset
for help on using the changeset viewer.
