On Mon, Mar 07, 2011 at 02:50:11PM -0800, Steve Langasek wrote: > On Mon, Mar 07, 2011 at 11:33:12PM +0100, David Kalnischkies wrote: > > On Mon, Mar 7, 2011 at 20:39, Steve Langasek <vor...@debian.org> wrote: > > > Oh man, I can't believe I missed FullName(), that's kind of an obvious > > > function, isn't it. :) Do you want me to change the patch to use this? > > > The > > > No need to, i just manual-merged your patch (bzr errored out on the > > try to merge¹) and committed my changes after that as attached. > > > Nothing fancy, just replaced the handmade Name() + ":" + Arch() with > > FullName() and new[] with strdup as it reduces the linecount a bit. > > Great, thanks! > > > Hope that makes it clear what i meant with FullName() usage. > > We could possibly replace the complete if-else with FullName, but then > > we would have to strdup for all packages and not just the multiarch ones, > > so that bit of duplication is good as it is. :) > > Yep, clear. > > > ¹ bzr: ERROR: Revision is not compatible with > > KnitPackRepository('file:///…/apt/.bzr/repository/') > > … Whatever: too late and too lazy to check that now … > > Ah; KnitPack is an old bzr repository format. Assuming your dev environment > is upgraded to squeeze, you should definitely run 'bzr upgrade' on any local > branches you have, as well as on > <bzr+ssh://bzr.debian.org/bzr/apt/debian-sid/>, to get the much-improved 2a > format. That will bring speed improvements when accessing the repo, and > make everyone happy. :) Actually, it'd need to be run on bzr+ssh://bzr.debian.org/bzr/apt/apt/ (and sub directories), which is a shared repository. bzr+ssh://bzr.debian.org/bzr/apt/debian-sid/ is a symlink to bzr+ssh://bzr.debian.org/bzr/apt/apt/debian-sid/. I upgraded the python-apt repository some time ago, if wanted, I can update apt as well.
-- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
pgpxnh4vQEg48.pgp
Description: PGP signature