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

Re: GSoC 2010

From
Scott Chacon <schacon@gmail.com>
Date
Feb 12, 2010, 19:47 UTC
Message-ID
<d411cc4a1002121147i67317ec8k69c7274ba49d6e38@mail.gmail.com>
In-Reply-To
<fabb9a1e1002121130uf16efeeyea6f763be18d27d@mail.gmail.com>
Hey,
On Fri, Feb 12, 2010 at 11:30 AM, Sverre Rabbelier <srabbelier@gmail.com> wrote:
Show 11 quoted lines
> Heya,
>
> On Fri, Feb 12, 2010 at 20:16, Daniel Barkalow <barkalow@iabervon.org> wrote:
>> I think that 'export' will always have this effect, because the
>> export/reimport roundtrip is practically never going to be exact with a
>> remote system that isn't actually git (and the state that you see the
>> remote as having after a successful push should match what you see if you
>> were to clone again).
>
> Not so, currently round-trips to Mercurial using hg-git result in
> identical commits.

In most cases, this is true, but unfortunately not every VCS is as denormalized data-wise as Git is. Hg records rename info and a manifest of changed files in the changeset explicitly, whereas Git figures them out from the linked trees. This means that if some plugin does not write the file listing or rename info properly, it's difficult to recreate perfectly. It also doesn't help that the method that writes that changed-file list from contents in memory operates subtly differently than the one that writes it from files in the working directory. This caused days of headaches for me trying to keep bidirectional losslessness.

Possibly not terribly helpful information, but interesting to me nonetheless.
Scott
Previous: Sverre RabbelierNext: Tay Ray Chuan
Message 16 of 53 in “GSoC 2010”
  1. Sverre RabbelierFeb 10, 2010
  2. Petr BaudisFeb 11, 2010
  3. Christian CouderFeb 12, 2010
  4. Eric WongFeb 12, 2010
  5. Johannes SchindelinFeb 12, 2010
  6. Sverre RabbelierFeb 12, 2010
  7. Mike HommeyFeb 12, 2010
  8. Johannes SchindelinFeb 12, 2010
  9. Sverre RabbelierFeb 12, 2010
  10. Mike HommeyFeb 12, 2010
  11. strbuf & other stuff dual-licensing, was Re: GSoC 2010Johannes Schindelin, Feb 12, 2010
  12. Daniel BarkalowFeb 12, 2010
  13. Sverre RabbelierFeb 12, 2010
  14. Daniel BarkalowFeb 12, 2010
  15. Sverre RabbelierFeb 12, 2010
  16. Scott ChaconFeb 12, 2010
  17. Tay Ray ChuanFeb 12, 2010
  18. Sverre RabbelierFeb 12, 2010
  19. Johannes SchindelinFeb 12, 2010
  20. Sverre RabbelierFeb 12, 2010
  21. Daniel BarkalowFeb 12, 2010
  22. Sverre RabbelierFeb 12, 2010
  23. Jeff KingFeb 14, 2010
  24. Johannes SchindelinFeb 14, 2010
  25. Jeff KingFeb 15, 2010
  26. Shawn O. PearceFeb 15, 2010
  27. Sverre RabbelierFeb 15, 2010
  28. Johannes SchindelinFeb 15, 2010
  29. Sverre RabbelierFeb 15, 2010
  30. Shawn O. PearceFeb 15, 2010
  31. Sverre RabbelierFeb 15, 2010
  32. web-based client for Git, was Re: GSoC 2010Johannes Schindelin, Feb 12, 2010
  33. Pau Garcia i QuilesFeb 12, 2010
  34. Johannes SchindelinFeb 12, 2010
  35. Petr BaudisFeb 12, 2010
  36. Pavan Kumar SunkaraFeb 12, 2010
  37. Petr BaudisFeb 12, 2010
  38. Pavan Kumar SunkaraFeb 12, 2010
  39. Petr BaudisFeb 12, 2010
  40. Mike HommeyFeb 12, 2010
  41. Petr BaudisFeb 12, 2010
  42. Pavan Kumar SunkaraFeb 12, 2010
  43. Johannes SchindelinFeb 12, 2010
  44. Petr BaudisFeb 12, 2010
  45. Pavan Kumar SunkaraFeb 12, 2010
  46. Johannes SchindelinFeb 12, 2010
  47. Jakub NarebskiFeb 12, 2010
  48. Mike HommeyFeb 12, 2010
  49. david@lang.hmFeb 12, 2010
  50. Scott ChaconFeb 12, 2010
  51. Petr BaudisFeb 12, 2010
  52. Jan KoprowskiFeb 12, 2010
  53. Pavan Kumar SunkaraFeb 12, 2010

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.