git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: fast-import deltas

From
Mike Hommey <mh@glandium.org>
Date
Apr 2, 2014, 04:13 UTC
Message-ID
<20140402041346.GB15690@glandium.org>
In-Reply-To
<A0BF7D05-E351-4A5B-8F0F-DD0FAD391656@quendi.de>
On Wed, Apr 02, 2014 at 01:29:13AM +0200, Max Horn wrote:
Show 20 quoted lines
> 
> On 01.04.2014, at 15:15, Jeff King <peff@peff.net> wrote:
> 
> > On Tue, Apr 01, 2014 at 10:07:03PM +0900, Mike Hommey wrote:
> > 
> >>> For my own curiosity, how does this differ from what is in
> >>> contrib/remote-helpers/git-remote-hg?
> >> 
> >> contrib/remote-helpers/git-remote-hg does a local mercurial clone
> >> before doing the git conversion. While this is not really a problem
> >> for most mercurial projects, it tends to be slow with big ones,
> >> like the firefox source code. What I'm aiming at is something that
> >> can talk directly to a remote mercurial server.
> > 
> > Ah, that makes sense. Thanks for explaining.
> 
> 
> Hm, myself, I am not quite convinced. Yes, there is an overhead, but
> it is one-time (well, the space overhead is not, but Mike only
> mentioned time, not space).

I didn't mention it, but it definitely is a factor. As for the performance factor, it certainly is more than a one-time overhead.

> I wonder if it is really worth the effort
> to start yet another project on this... Moreover, I don't see a
> fundamental reason why one could not modify git-remote-hg to work this
> way.

The way git-remote-hg works is fundamentally different to how one can directly get and push stuff to a remote mercurial server. As such, there is not much value in the current git-remote-hg code for that purpose. Also, I'm currently prototyping something to see whether what I think should work really works. Starting from the current git-remote-hg code would add useless constraints to the prototype.

Mike
Previous: Max HornNext: Felipe Contreras
Message 12 of 13 in “fast-import deltas”
  1. Mike HommeyApr 1, 2014
  2. Jeff KingApr 1, 2014
  3. Mike HommeyApr 1, 2014
  4. Jeff KingApr 1, 2014
  5. Mike HommeyApr 1, 2014
  6. Junio C HamanoApr 1, 2014
  7. Jonathan NiederApr 1, 2014
  8. Mike HommeyApr 1, 2014
  9. Junio C HamanoApr 1, 2014
  10. Mike HommeyApr 1, 2014
  11. Max HornApr 1, 2014
  12. Mike HommeyApr 2, 2014
  13. Felipe ContrerasApr 9, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.