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

Re: mercurial to git

From
Shawn O. Pearce <spearce@spearce.org>
Date
Mar 7, 2007, 23:14 UTC
Message-ID
<20070307231421.GF27922@spearce.org>
In-Reply-To
<20070306210629.GA42331@peter.daprodeges.fqdn.th-h.de>
Rocco Rutte <pdmef@gmx.net> wrote:
Show 7 quoted lines
> Somewhat related: It would be really nice to teach git-fast-import to 
> init from a previously saved mark file. Right now I use hg revision 
> numbers as marks, let git-fast-import save them, and read them back next 
> time. These are needed to map hg revisions to git SHA1s in case I need 
> to reference something in an incremental import from an earlier run. It 
> would be nice if git-fast-import could do this on its own so that all 
> consumers can benefit and can have persistent marks accross sessions.
Done.  See the new --import-marks option.
The following changes since commit c390ae97beb9e8cdab159b593ea9659e8096c4db:
  Li Yang (1):
        gitweb: Change to use explicitly function call cgi->escapHTML()
are found in the git repository at:
  git://repo.or.cz:/git/fastimport.git
Shawn O. Pearce (3):
      Preallocate memory earlier in fast-import
      Use atomic updates to the fast-import mark file
      Allow fast-import frontends to reload the marks table
 Documentation/git-fast-import.txt |   13 +++++-
 fast-import.c                     |   85 +++++++++++++++++++++++++++++-------
 t/t9300-fast-import.sh            |    8 ++++
 3 files changed, 88 insertions(+), 18 deletions(-)
-- 
Shawn.
Previous: Rocco RutteNext: Rocco Rutte
Message 9 of 19 in “mercurial to git”
  1. Rocco RutteMar 6, 2007
  2. Theodore TsoMar 6, 2007
  3. Rocco RutteMar 6, 2007
  4. Josef SipekMar 6, 2007
  5. Theodore TsoMar 7, 2007
  6. Rocco RutteMar 8, 2007
  7. Shawn O. PearceMar 7, 2007
  8. Rocco RutteMar 8, 2007
  9. Shawn O. PearceMar 7, 2007
  10. Rocco RutteMar 8, 2007
  11. Theodore TsoMar 15, 2007
  12. Rocco RutteMar 15, 2007
  13. Theodore TsoMar 15, 2007
  14. Rocco RutteMar 15, 2007
  15. Linus TorvaldsMar 15, 2007
  16. Theodore TsoMar 15, 2007
  17. Rocco RutteMar 15, 2007
  18. Simon 'corecode' SchubertMar 17, 2007
  19. Len BrownMar 16, 2007

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.