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

Re: hg2git error

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
May 25, 2009, 11:57 UTC
Message-ID
<vpqprdxpf8g.fsf@bauges.imag.fr>
In-Reply-To
<alpine.DEB.1.00.0905251341370.4288@intel-tinevez-2-302>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> I disagree... The worst solution is to stop working at all.  A better 
> solution would be to ignore the unnamed head,

... or to import the commits of this unnamed head, without setting a Git reference to it (with a message on the console saying stg like "Unnamed head imported as commit %s\n" to let the user do something with the sha1).

> and the best solution would probably be to generate ref names that
> are _not_ branch names for such heads.

Stg like refs/hg-heads/<branch>/<number> ? (seems to be accepted in the Git namespace)

(my 2 cents)
-- 
Matthieu
Previous: Johannes SchindelinNext: Rocco Rutte
Message 9 of 10 in “hg2git error”
  1. Johannes SchindelinMay 24, 2009
  2. Sverre RabbelierMay 24, 2009
  3. Johannes SchindelinMay 24, 2009
  4. Sverre RabbelierMay 24, 2009
  5. Johannes SchindelinJul 22, 2009
  6. Sverre RabbelierJul 22, 2009
  7. Rocco RutteMay 25, 2009
  8. Johannes SchindelinMay 25, 2009
  9. Matthieu MoyMay 25, 2009
  10. Rocco RutteMay 25, 2009

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.