~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2007-12-21 04:03:41 UTC
  • mfrom: (596.1.1 bzrtools)
  • Revision ID: aaron.bentley@utoronto.ca-20071221040341-pi6g35z6su4wou8k
Merge from other bzrtools

Show diffs side-by-side

added added

removed removed

Lines of Context:
438
438
    deprecated.
439
439
    """
440
440
    takes_options = [Option("lightweight",
441
 
                            help="Create a lightweight checkout."), 'revision']
 
441
                            help="Create a lightweight checkout."), 'revision',
 
442
                     Option('from-files', type=unicode,
 
443
                            help='Accelerate checkout using files from this'
 
444
                                 ' tree.')]
442
445
    takes_args = ["source", "target?"]
443
 
    def run(self, source, target=None, lightweight=False, revision=None):
 
446
    def run(self, source, target=None, lightweight=False, revision=None,
 
447
            from_files=None):
444
448
        from cbranch import cbranch
445
449
        return cbranch(source, target, lightweight=lightweight,
446
 
                       revision=revision)
 
450
                       revision=revision, from_files=from_files)
447
451
 
448
452
 
449
453
class cmd_branches(BzrToolsCommand):