Thread (1 message) 1 message, 1 author, 2016-06-15
  • (off-list ancestor, not in this archive)
  • Re: hg2git error · Matthieu Moy <hidden> · 2016-06-15

Re: hg2git error

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:46:49

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help