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