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

Re: [PATCH] fast-export: Allow pruned-references in mark file

From
Antoine Pelisse <apelisse@gmail.com>
Date
Nov 26, 2012, 14:14 UTC
Message-ID
<CALWbr2ympYDTpJ4wSSc8ThYKtE5gvcf1OM-ztj5cry_TDsJr9w@mail.gmail.com>
In-Reply-To
<CAMP44s3Xo2ko6X1-SO3hLiTYHA3+i912jTGOQCUihixxcbEuRQ@mail.gmail.com>
> If that's the case, I don't think it should throw a warning even just skip them.
Removing the warning seems fine to me.
> Then, in the actual export if some of these objects are referenced the
> export would fail anyway (but they won't).

Of course it will fail to export anything that requires the missing object. As they are unreachable, it will be hard to provide a ref that needs it anyway.

On the other hand, I'm afraid that your file '.git/hg/<remote>/marks-hg' needs consistent references to mark. If a mark is removed, and then replaced by another object, can it break somehow git-remote-hg ? If not, I can provide a simpler patch. If it does, it will be more complicated.

Cheers, Antoine

Previous: Felipe ContrerasNext: Junio C Hamano
Message 6 of 13 in “fast-export: Allow pruned-references in mark file”
  1. fast-export: Allow pruned-references in mark fileAntoine Pelisse, Nov 24, 2012
  2. Junio C HamanoNov 26, 2012
  3. Felipe ContrerasNov 26, 2012
  4. Antoine PelisseNov 26, 2012
  5. Felipe ContrerasNov 26, 2012
  6. Antoine PelisseNov 26, 2012
  7. Junio C HamanoNov 26, 2012
  8. Antoine PelisseNov 26, 2012
  9. Felipe ContrerasNov 26, 2012
  10. Junio C HamanoNov 26, 2012
  11. Antoine PelisseDec 1, 2012
  12. fast-export: Allow pruned-references in mark fileAntoine Pelisse, Apr 6, 2013
  13. Felipe ContrerasApr 6, 2013

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.