Repository size . . . is this right
Stephen J. Turnbull
stephen at xemacs.org
Wed Dec 10 08:33:53 GMT 2008
Robert Collins writes:
> On Tue, 2008-12-09 at 17:04 +0000, Matt Nordhoff wrote:
>
> > If you run "bzr pack" twice without committing or pulling or
> > adding new revisions in any other way, it will exit without doing
> > anything.
This is good behavior. A revision control system should have no
operations that implicitly reduce the size of the repository, which
implies throwing out data (even if it's redundant). By repo, I mean
"excluding the working tree." Obviously checking out an old version
might reduce that.
> 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.
More information about the bazaar
mailing list