~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to baz_import.py

  • Committer: Robert Collins
  • Date: 2005-09-13 12:39:26 UTC
  • mto: (147.2.6) (364.1.3 bzrtools)
  • mto: This revision was merged to the branch mainline in revision 324.
  • Revision ID: robertc@robertcollins.net-20050913123926-b72242bdacc1ae52
create the output directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
578
578
    takes_options = ['verbose']
579
579
 
580
580
    def run(self, to_root_dir, from_archive, verbose=False):
581
 
        raise "foo"
582
 
        to_location = os.path.realpath(str(to_location))
 
581
        to_root = os.path.realpath(to_root_dir)
 
582
        if not os.path.exists(to_root):
 
583
            os.mkdir(to_root)
 
584
        return
583
585
        if from_branch is not None:
584
586
            try:
585
587
                from_branch = pybaz.Version(from_branch)