~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/config.py

  • Committer: Vincent Ladeuil
  • Date: 2011-09-27 13:18:53 UTC
  • mto: This revision was merged to the branch mainline in revision 6178.
  • Revision ID: v.ladeuil+lp@free.fr-20110927131853-bafk1zx2zyv5otu1
Follow the lead of other 'global' options which are not declared in option.py but handled in bzrlib.commands.run_bzr instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2654
2654
        super(CommandLineSection, self).__init__('cmdline-overrides', opts)
2655
2655
 
2656
2656
    def _from_cmdline(self, overrides):
 
2657
        # Reset before accepting new definitions
 
2658
        self.options.clear()
2657
2659
        for over in overrides:
2658
2660
            try:
2659
2661
                name, value = over.split('=', 1)