Repository size . . . is this right

Robert Collins robertc at robertcollins.net
Wed Dec 10 18:01:20 GMT 2008


On Wed, 2008-12-10 at 17:33 +0900, Stephen J. Turnbull wrote:

>  > I'd support having 'bzr pack && bzr pack' leave an empty
>  > obsolete_packs directory. I also completely agree that the current
>  > behaviour confuses people and thats *not good*. However, safety is
>  > really important too.
> 
> I think there should be a separate command, bzr garbage-collect, or
> maybe even bzr clean, perhaps with options for how aggressively it
> classifies stuff as garbage.

I'd like to add a gc command for sure. The contents of obsolete_packs
really are obsolete; every bit of data in there is also in packs/ - its
solely a reflection of the limitations upon userspace saying 'make sure
these files are on physical media' that cause it to be used as it is.
Exposing 'clean obsolete_packs' as 'gc --fast' could be good, but I
would like to have some way where the duplicate data is removed more
promptly than it does today, automatically. 

-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: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081211/578826dd/attachment.pgp 


More information about the bazaar mailing list