'bzr pack' should sync and delete obsolete-packs/*
Robert Collins
robertc at robertcollins.net
Fri Jan 18 23:57:15 GMT 2008
On Fri, 2008-01-18 at 21:20 -0200, Martin Albisetti wrote:
> On Jan 18, 2008 8:49 PM, Robert Collins <robertc at robertcollins.net> wrote:
> > > I get the duplicate space usage from "repository/packs/" and
> > > "repository/obsolete_packs/" (both 1.2gb).
> > > I make sure I delete the .bzr.backup/ dir right after each upgrade already.
> >
> > after 'bzr upgrade' - or are you running 'bzr pack' as well?
>
> I ran 'bzr upgrade', 'bzr reconocile', and then 'bzr pack'.
> Was still left with 1.2gb of obsolete_packs/.
Ok, here is whats happening:
bzr upgrade -> .bzr.backup directory, 1.2G or so
bzr reconcile -> is a pack-like operation, will give you 1.2G of
obsolete packs (reconciling before upgrading won't give you this
overhead)
bzr pack -> generates another 1.2G of data; then trims the old obsolete
packs but leaves you with 1.2G of data)
At this point 'bzr pack' solely re-orders the revisions in the pack; its
a performance benefit but not earth shattering.
> > upgrading to the format should /not/ give you a 40% increase in space;
> > there must be something else going on here.
>
> 40% was a wild guess on my part, projecting the same result on the
> other large repos. This has not been the behavior with all of the
> upgrades I did.
> I still have a copy of the knit repo backed up, can I run any tests to
> help debug this?
Nothing to debug - you just were not listing all the commands you were
running :)
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080119/8df81af2/attachment.pgp
More information about the bazaar
mailing list