Re: Repository is moving

Federico Di Gregorio <fog-NGVKUo/i/[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Organization initd.org
Message-ID <1241077136.4864.0.camel@erin>
Il giorno mar, 28/04/2009 alle 16.20 +0800, James Henstridge ha scritto:
> On Mon, Apr 27, 2009 at 11:07 PM, James Henstridge <[email protected]> wrote:
> > 3. I was a bit surprised that the repository data was so much larger:
> > 2.2MB for Bazaar and 7.5MB for Git.  I thought Git did better than
> > that in comparison to the Bazaar format we were using.  Could there be
> > something from another project hiding in there?  Running "git gc"
> > didn't seem to clear any space.
> 
> I did a bit of googling about this, and found the repack command.  The
> following command was able to bring the repository size down to 968KB:
> 
>     git repack -a -f --window=300 --depth=300
> 
> [This is about the same size as what the the repository format in
> development for Bazaar 2.0 gives, which is a nice validation].
> 
> You might want to run a command like this on the server to make the
> initial download a bit quicker.

I did that. Thank you for the suggestion.

federico

-- 
Federico Di Gregorio                         http://people.initd.org/fog
Debian GNU/Linux Developer                                [email protected]
INIT.D Developer                                           fog-NGVKUo/i/[email protected]
 Il panda ha l'apparato digerente di un carnivoro (e.g., di un orso).
  Il panda ha scelto di cibarsi esclusivamente di germogli di bambù.
  Quindi, il panda è l'unico animale vegano del pianeta. Il panda
  merita di estinguersi.                       -- Maria, Alice, Federico

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/[email protected]
http://lists.initd.org/mailman/listinfo/psycopg
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkn5VYsACgkQvcCgrgZGjeu4ngCgjewl2/dnRcJgjG1GCbQSgXgQ
OugAn19Ly5X0wu9tIOydWD4AQqibilXx
=g9zf
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.