/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/win32utils.py

  • Committer: Robert Collins
  • Date: 2010-06-18 04:37:50 UTC
  • mto: This revision was merged to the branch mainline in revision 5308.
  • Revision ID: robertc@robertcollins.net-20100618043750-ij6cdr2fudc71jjs
``Branch`` formats can now be loaded lazily by registering a
``MetaDirBranchFormatFactory`` rather than an actual format. This will
cause the named format class to be loaded only when an enumeration of
formats is needed or when the format string for the object is
encountered. (Robert Collins, Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
568
568
                if argv[idx][:1] != '-':
569
569
                    break
570
570
            argv = argv[idx+1:]
 
571
        # we should remove '--profile-imports' option as well (bug #588277)
 
572
        # see bzr script ~ line 54
 
573
        if '--profile-imports' in argv and '--profile-imports' not in sys.argv:
 
574
            argv.remove('--profile-imports')
571
575
        return argv
572
576
else:
573
577
    get_unicode_argv = None