~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to baz2bzr

  • Committer: Aaron Bentley
  • Date: 2005-06-17 13:45:41 UTC
  • Revision ID: abentley@panoramicfeedback.com-20050617134541-205d06aa13db514d
Adapted bzrlib's progress bar

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
19
 
20
20
from baz_import import import_version, UserError
21
 
from progress import rewriting_supported
22
21
import pybaz
23
22
import sys
24
23
import os.path
85
84
            return 1
86
85
        
87
86
    try:
88
 
        fancy = rewriting_supported()
89
87
        import_version(output_dir, version,
90
88
            verbose=opts.verbose, fast=opts.fast,
91
89
            dry_run=opts.dry_run, max_count=opts.max_count,
92
 
            skip_symlinks=opts.skip_symlinks, fancy=fancy)
 
90
            skip_symlinks=opts.skip_symlinks)
93
91
        return 0
94
92
    except UserError, e:
95
93
        print e