[pypy-dev] Mercurial "general delta"

Maciej Fijalkowski fijall at gmail.com
Sun Dec 4 06:27:48 EST 2016


can we somehow make it new thing on the bb? that would mean download
gets smaller

On Sat, Dec 3, 2016 at 8:37 PM, Armin Rigo <armin.rigo at gmail.com> wrote:
> Hi all,
>
> A quick note for people that have a PyPy repo since years and are
> using it like me without ever re-cloning from Bitbucket: the format of
> modern mercurial repos is more compact (500MB instead of almost
> 900MB), but convertion of existing repos is not automatic.  The new
> format is called General Delta.
>
> If your directory ".hg/store/" is closer to 900 than 500 MB, try this:
>
> hg clone -U --config format.generaldelta=1 --pull OLDREPO NEWREPO
>
> You can then throw away the OLDREPO.  Or like me you can (1) make sure
> OLDREPO is up-to-date with default without any local changes; (2) only
> throw away OLDREPO/.hg and replace it with NEWREPO/.hg; (3) optionally
> re-modify .hg/hgrc; (4) then do "hg update default" to resynchronize.
>
> I noticed this because Bitbucket says the pypy repo is not General
> Delta.  I don't know how to fix that, or if it really matters at all:
> I guess newly cloned repos from Bitbucket will automatically use the
> latest format anyway.
>
>
> A bientôt,
>
> Armin.
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev


More information about the pypy-dev mailing list