'bzr pack' should sync and delete obsolete-packs/*

Robert Collins robertc at robertcollins.net
Fri Jan 18 22:49:40 GMT 2008


On Fri, 2008-01-18 at 20:33 -0200, Martin Albisetti wrote:
> On Jan 18, 2008 8:19 PM, Robert Collins <robertc at robertcollins.net> wrote:
> > 'upgrade' is different. If you have 25 > 3GB branches in separate
> > repositories the 'pack' code path is not being executed. You instead are
> > seeing .bzr.backup as the problem :). And that we could conceivably do a
> > bzr check after the upgrade and remove, though I am wary of removing the
> > backup automatically; in the event of a silent failure it will be
> > extremely useful, and check is quite slow.
> 
> 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?

> > > Of course, as Jam pointed out in IRC, I can delete the directory
> > > manually, but I'd like to avoid touching anything under .bzr/
> >
> > You shouldn't have to.
> 
> I can't have a 40% increment in disk space usage just because I
> upgrade to the latest format, and wait for a commit to auto-delete the
> obsolete packs either. I don't have that much disk space available at
> the moment (and it doesn't seem reasonable).

upgrading to the format should /not/ give you a 40% increase in space;
there must be something else going on here.

-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/641e1afc/attachment-0001.pgp 


More information about the bazaar mailing list