~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2010-10-04 17:24:52 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20101004172452-unu266taysseifa4
Implement ``bzr config --remove <option>``.

* bzrlib/tests/test_config.py:
(TestConfigRemoveOption): Complete the tests.

* bzrlib/tests/blackbox/test_config.py:
(TestConfigRemoveOption.test_unknown_config): Test the cmd_config
option removal.

* bzrlib/config.py:
(IniBasedConfig.get_sections): Add the configuration id to the
returned tuples or we can't implement option removal for
BranchConfig.
(IniBasedConfig.remove_user_option): Default implementation.
(LockableConfig.remove_user_option): Implementation for lockable
configs.
(BranchConfig._get_branch_data_config): Force the id for the
branch data config to avoid forcing it in TreeConfig (oh my...).
(TreeConfig.remove_option): Use a different signature to avoid
confusion with remove_user_option (geez).
(TransportConfig.remove_option): The other side of
remove_user_option for BranchConfig.
(cmd_config._remove_config_option): The working implementation for
cmd config and two unsuccesful
approaches (BranchConfig/TreeConfig/TransportConfig is a mess when
it comes to provide precise access).
Filename Latest Rev Last Changed Committer Comment Size
..
apport 4797.33.16 14 years ago Robert Collins Update bugfix for 528114 to trunk. Diff
bzrlib 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
contrib 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
doc 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
man1 2425.1.1 17 years ago Robert Collins ``make docs`` now creates a man page at ``man1/bzr Diff
tools 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
.bzrignore 5127.1.5 14 years ago Martin Pool ignore .testrepository 1.2 KB Diff Download File
.rsyncexclude 1185.33.36 19 years ago Martin Pool Exclude more files from dumb-rsync upload 203 bytes Diff Download File
.testr.conf 5060.2.1 14 years ago Robert Collins * bzr now has a ``.testr.conf`` file in its source 93 bytes Diff Download File
BRANCH.TODO 5340.8.6 14 years ago Marius Kruger * Update documentation * add NEWS 150 bytes Diff Download File
File bzr 5439.1.1 14 years ago Andrew Bennetts Merge lp:bzr/2.2. 5.2 KB Diff Download File
bzr.ico 3688.3.3 16 years ago John Arbash Meinel An updated transparent icon for bzr. 12.7 KB Diff Download File
COPYING.txt 1861.2.9 18 years ago Alexander Belchenko rename gpl.txt => COPYING.txt 17.5 KB Diff Download File
INSTALL 5278.1.5 14 years ago Martin Pool Correct more sloppy use of the term 'Linux' 1.4 KB Diff Download File
Makefile 5397.1.5 14 years ago John Arbash Meinel Remove the 'false' invocation. 14.7 KB Diff Download File
MANIFEST.in 4634.125.2 14 years ago John Arbash Meinel Update the MANIFEST.in file. 118 bytes Diff Download File
NEWS 5447.4.5 14 years ago Vincent Ladeuil Implement ``bzr config option=value``. * bzrlib/t 505 KB Diff Download File
NEWS-template.txt 4634.136.1 14 years ago Ian Clatworthy NEWS section template into a separate file 277 bytes Diff Download File
profile_imports.py 5027 14 years ago Canonical.com Patch Queue Manager (mbp) add import-tariff tests 6.1 KB Diff Download File
README 4988.4.3 14 years ago Martin Pool Correction to url from review: https://code.edge. 2.2 KB Diff Download File
README_BDIST_RPM 4634.125.1 14 years ago Joe Julian Added MANIFEST.in to allow bdist_rpm to have all t 397 bytes Diff Download File
File setup.py 5340.4.8 14 years ago Gary van der Merwe Merge lp:bzr/2.2. 28.8 KB Diff Download File
TODO 4634.146.5 14 years ago Danny van Heumen Reverted now-useless TODO list. 115 bytes Diff Download File