Johannes Schindelin [off-list ref] 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