~bzr-pqm/bzr/bzr.dev

Add bzrlib.pyutils, which has get_named_object, a wrapper around __import__.

This is used to replace various ad hoc implementations of the same logic,
notably the version used in registry's _LazyObjectGetter which had a bug when
getting a module without also getting a member.  And of course, this new
function has unit tests, unlike the replaced code.

This also adds a KnownHooksRegistry subclass to provide a more natural home for
some other logic.

I'm not thrilled about the name of the new module or the new functions, but it's
hard to think of good names for such generic functionality.
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 18 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 5432.3.1 14 years ago Vincent Ladeuil Merge 2.2.1 into 2.3 fixing NEWS entries 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 5436.2.1 14 years ago Andrew Bennetts Add bzrlib.pyutils, which has get_named_object, a 503 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