Re: [PATCH] [SIGNED-OFF] remotes-hg: bugfix for fetching non local remotes
- From
Felipe Contreras <felipe.contreras@gmail.com>
- Date
- Jul 25, 2013, 19:30 UTC
- Message-ID
- <CAMP44s1H1G-G0SvvegLsTfFizprzRkw8TfqcJi8hCr-6+8WnKQ@mail.gmail.com>
- In-Reply-To
- <CALWbr2wDqo29kRJ2eHsozRCN_fT3tumYz23pQa5P-9dm27OL6A@mail.gmail.com>
On Wed, Jul 24, 2013 at 8:14 AM, Antoine Pelisse <apelisse@gmail.com> wrote:
> IOW, the goal is to have only one copy of each "hg object" that are > shared amongst many "remotes" (and potentially import them only once, > though I don't think it currently works for me).
That's right. I had code to import only once, but it didn't work correctly; we would need a way to have shared fast-import/export marks, and I don't think it's even possible from Mercurial's API to figure out which objects are shared and which specific, so I gave up on that. Sharing the repository is the only thing we can do safely and sanely.
-- Felipe Contreras